cdnjs/workspace

Name: workspace

Owner: cdnjs

Description: Dockerized CDNJS workspace

Created: 2017-03-30 13:22:03.0

Updated: 2018-05-07 11:58:34.0

Pushed: 2018-05-07 11:58:33.0

Homepage: null

Size: 26

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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.

et https://cdnjs.peterdavehello.org/cdnjs-workspace-docker.txz
cker load --input cdnjs-workspace-docker.txz

or

Build image from scratch
cker build -t cdnjs-workspace .
Create container from image
cker run --hostname cdnjs-workspace -it cdnjs-workspace --name cdnjs-workspace bash
Setup git user info
t config --global user.name  "User"
t config --global user.email "User@github.com"
Setup your own remote on each repositories, start hacking!
s-workspace / # cd ~/cdnjs/
s-workspace ~/cdnjs # ls
-extension/  autoupdate/  bot/  buildScript/  cdnjs/  cdnjs-drone-ci/  cdnjs-importer/  new-website/  script/  tutorials/  workspace/
For future usage
Make sure the container started
cker start cdnjs-workspace
Enter into the container
cker exec -it cdnjs-workspace bash
Go to the working directory, start hacking!
s-workspace / # cd ~/cdnjs/
s-workspace ~/cdnjs # ls
-extension/  autoupdate/  bot/  buildScript/  cdnjs/  cdnjs-drone-ci/  cdnjs-importer/  new-website/  script/  tutorials/  workspace/

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.