Boilerplate based on the Schul-Cloud client with NodeJS and Express.
- node.js 6 or later (You can install it from https://nodejs.org/en/download/)
- Clone directory into local folder
- Go into the cloned folder and enter
npm install
- Install nodemon and gulp globally by entering
npm install -g nodemon gulp
- Start the schul-cloud server
- Go into project folder
- run
gulp watch
to run gulp - run
npm run watch
to boot the application - go to
http://localhost:3111
Add Themes to /theme directory. Call gulp and node with SC_THEME set to name of directory.
then clear build files and gulp cache with gulp clear
run set SC_THEME={themeName}
without spaces around the equal sign!
- Take the last part of the url of your Trello ticket (e.g. "8-setup-feathers-js")
- Name the branch after the Trello id (e.g. "8-setup-feathers-js")
Default branch: master
- Go into project folder
- Run the tests (see above)
- Commit with a meanigful commit message(!) even at 4 a.m. and not stuff like "dfsdfsf"
- Checkout to master branch
- Run
git pull
- Checkout to the branch you want to upload
- run
git rebase -p develop
(notgit merge
!) and solve merge conflicts if needed - run
git push