A brand new rewrite. Check out the Wiki for what's new and happening, or tweet me @consindo.
- You will need node.js & npm installed.
- Then run
npm install
- Use
npm run test:fast
to run tests only, without building and coverage. - You can use
npm run watch
. It uses webpack-dev-server, which has nice live js & css reloading. - Sign in with
local@nitrotasks.com
, no password.
- Go to https://github.com/nitrotasks/nitro-server to download and use the server.
- If you're developing the client too, the webpack-dev-server will proxy API requests to
localhost:8040/a
- you can change this inwebpack.config.js
.
- This is published as a npm package, prebuilt with the API route as /a.
- Nitro Server pulls the package from NPM, and serves the module as the app.
- Use
npm run build
to create a production build. - Serve this from nitro-server by changing the config.
- If you're the maintainer, use
npm publish
and change the wanted package in the nitro-serverpackage.json
.