This project is bootstrapped by aurelia-cli.
For more information, go to https://aurelia.io/docs/cli/cli-bundler
Run au run
, then open http://localhost:9000
To open browser automatically, do au run --open
.
To change dev server port, do au run --port 8888
.
To change dev server host, do au run --host 127.0.0.1
To install new npm packages automatically, do au run --auto-install
PS: You could mix all the flags as well, au run --host 127.0.0.1 --port 7070 --open
Run au build --env prod
.
Run au test
(or au jest
).
To run in watch mode, au test --watch
or au jest --watch
.
You need the app running for integration test.
First, run au run
and keep it running.
Then run au cypress
to run cypress in interactive mode.
To perform a test-run and reports the results, do au cypress --run
.
To ask the cypress
to start the application first and then start testing: au cypress --run --start
The two following flags are useful when using --start
flag:
- To change dev server port, do
au cypress --start --port 8888
. - To change dev server host, do
au cypress --start --host 127.0.0.1
PS: It is also possible to mix the flags au cypress --run --start --port 7070 --host 127.0.0.1
This is as simple as running a command:
yarn docker:build
or npm run docker:build
if you want to bring up an instance on your machine run:
yarn docker:start
or npm run docker:build
to stop the previously started instance:
yarn docker:stop
or npm run docker:stop