Sign inSign up

dymajo/nitro-client

By dymajo

•Updated almost 7 years ago

Auto Nitro Client Builds

Image
0

1.6K

dymajo/nitro-client repository overview

⁠Nitro 3

Build Status Dependency Status devDependency Status FOSSA Status

A brand new rewrite. Check out the Wiki⁠ for what's new and happening, or tweet me @consindo⁠.

⁠Build Instructions

  • You will need node.js & npm installed.
  • Then run npm install

⁠Development (without server)

  • 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 [email protected], no password.

⁠Development (with server)

  • 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 in webpack.config.js.

⁠Production

  • 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.
⁠Otherwise
  • 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-server package.json.

⁠License

FOSSA Status

Tag summary

Content type

Image

Digest

Size

49.7 MB

Last updated

almost 7 years ago

docker pull dymajo/nitro-client