- Build application:
$ make d-build-project
- Run application:
$ d-up-project
- Following endpoints is opened:
- Frontend:
localhost:3000
- Custom API:
localhost:5002
- Simulator API:
localhost:5001
- Simulator API Swagger docs:
localhost:5001/api-docs
- Prometheus API:
localhost:9090
- Grafana:
localhost:3001
- Kibana:
localhost:5601
- Frontend:
Grafana admin credentials (in non-prod mode):
- Username:
admin
- Password:
admin
Kibana credentials:
- Username:
elastic
- Password:
changeme
- Frontend:
http://157.245.27.128:3000
- Simulator API:
http://157.245.27.128:5001
- Grafana monitoring dashboard:
http://157.245.27.128:3001
- Kibana:
http://188.166.193.149:5601
- Add
SSH_KEY_NAME
andDIGITAL_OCEAN_TOKEN
to your environment.You get your$ nano ~/.bashrc #(or whatever shell you use)
SSH_KEY_NAME
andDIGITAL_OCEAN_TOKEN
from the settings on cloud.digitalocean.comexport SSH_KEY_NAME="My Computer SSH" export DIGITAL_OCEAN_TOKEN="My Secret Key"
- Reload shell configuration after last install:
$ source ~/.bashrc
- Install Digital Ocean plugin for Vagrant
$ vagrant plugin install vagrant-digitalocean
- Deploy to Digital Ocean
$ vagrant up
Run the following command: make run-flag-tool ARGS=<command-line arguments to tool>
Run the following command: make run-sim-integration-test
Run the following command: make run-min-sim-test
- Setup and start the application as described in 'Setup and run' section.
- Navigate to the
tests/e2e
directory and run the following command to install all required dependencies:npm install
- In the
tests/e2e
directory, run the following command to start the E2E test:npm test