An implementation of the Schul-Cloud client with NodeJS and Express.
- node.js
- 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:3100
- 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")
- Set the password for the demo user
[email protected]
Ubuntu/Mac:export SC_DEMO_USER_PASSWORD={PASSWORD}
(Without braces) Windows:set SC_DEMO_USER_PASSWORD={PASSWORD}
(Without braces) - run
npm run test
- If you want to use another backend url than localhost, set the
BACKEND_URL
environment variable (see 1) - If you want to list the coverage, run
npm run coverage
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