This repository holds the contents of the Master in Fullstack Web. This repository uses Lerna to organize the lessons and each module is it's own package.
- Fork this project.
- Clone the project that has been created under your Github's account <YOUR_USER>/cice-playground.
- Open terminal.
cd
into the project.- Create a branch from
main
where you'll work,dev
for example. - Track remote upstream branch:
git remote add upstream https://github.com/cice-classroom/cice-playground.git
. - To update changes from upstream:
git pull upstream main
. - To propose changes you have to go to
main
branch, make a new branch from it, commit changes and then, on Github, make a Pull request from<YOUR_BRANCH>
tomain
. If you want to bring a single commit from your dev branch you can use cherry-pick.
Once you cloned the project do the following:
- Install NodeJS.
- Open terminal.
cd
into the project's directory.- Install dependencies with:
npm i
. - Run bootstrap with:
npm run bootstrap
. - If you want to run a script of any given package remember to
cd
into it first!
You can format the code: with npm run format
and lint with npm run lint
.
Whenever you have to solve an exercise you should create a folder my-solutions
in order to keep your solutions, and the solutions reached in class.
To update all dependencies to the latest version in all packages run: npm run lerna exec --parallel -- "npx npm-check -E -y"