Coder Social home page Coder Social logo

workspace's Introduction

cdnjs-workspace

Use docker to pack our working environment, based on Ubuntu 18.04 (Bionic Beaver).

Table of Contents

Note

This docker environment will prepare the common repositories we need to work with CDNJS project, please note that due to the repository disk space use issue, a full cloned and checkouted cdnjs main repository will use more than 88 GB disk space, so we use a shallow cloned cdnjs main repository with sparseCheckout enabled.

Usage

For the first time setup

Get workspace docker image

You can download the image we built then load it, or build your own.

Download and load pre-built image

It'll take about 5 mins to load the docker images, it depends on your hardware performance, please get a cup of tea or coffee during the load process.

$ wget https://cdnjs.peterdavehello.org/cdnjs-workspace-docker.txz
$ docker load --input cdnjs-workspace-docker.txz

or

Build image from scratch
$ docker build -t cdnjs-workspace .

Create container from image

$ docker run --hostname cdnjs-workspace -it cdnjs-workspace --name cdnjs-workspace bash

Setup git user info

$ git config --global user.name  "User"
$ git config --global user.email "[email protected]"

Setup your own remote on each repositories, start hacking!

cdnjs-workspace / # cd ~/cdnjs/
cdnjs-workspace ~/cdnjs # ls
atom-extension/  autoupdate/  bot/  buildScript/  cdnjs/  cdnjs-drone-ci/  cdnjs-importer/  new-website/  script/  tutorials/  workspace/

For future usage

Make sure the container started

$ docker start cdnjs-workspace

Enter into the container

$ docker exec -it cdnjs-workspace bash

Go to the working directory, start hacking!

cdnjs-workspace / # cd ~/cdnjs/
cdnjs-workspace ~/cdnjs # ls
atom-extension/  autoupdate/  bot/  buildScript/  cdnjs/  cdnjs-drone-ci/  cdnjs-importer/  new-website/  script/  tutorials/  workspace/

workspace's People

Contributors

dependabot-support avatar peterdavehello avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

workspace's Issues

DepShield encountered errors while building your project

The project could not be analyzed because of maven build errors. Please review the error messages here. Another build will be scheduled within 24 hours. If the build is successful this issue will be closed, otherwise the error message will be updated.

This is an automated GitHub Issue created by Sonatype DepShield. GitHub Apps, including DepShield, can be managed from the Developer settings of the repository administrators.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.