This project is experimental and still under development.
- Nodejs and NPM must be installed on your system; run the following commands:
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install nodejs npm
- Navigate to source code directory and run the following:
sudo npm install -g @angular/cli
npm install
ng serve
Run ng serve
for a dev server.
To run the production server, first set the environment variable export API_URL=http://localhost:4201
(default value: "http://localhost:4201"
)
Then run npm start
. Navigate to http://localhost:4100/
. The app will automatically reload if you change any of the source files.
To build the production server, first set the environment variable export API_URL=http://localhost:4201
(default value: "http://localhost:4201"
)
Then run npm build
to build the project. The build artifacts will be stored in the dist/
directory.
The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
You can view our licence here.