Revision 54fdb490e56ead355064efae1729413d47472e84 authored by djhi on 17 February 2017, 10:26:58 UTC, committed by djhi on 17 February 2017, 10:26:58 UTC
1 parent 87e4a0f
README.md
# lodex-v2
## Development
First, run the following command to install dependencies:
```sh
make install
```
Then, starts the development environment by running:
```sh
make docker-run-dev
```
This will initialize the docker containers which can take some time.
When done, three containers will be running:
- `lodexv2_mongo_1`: the mongo server
- `lodexv2_server_1`: the API server (node process) running at `http://localhost:3000`
- `lodexv2_devserver_1`: the webpack server for the frontend running at `http://localhost:8080`
The default username and password are specified in the `./config.json` file along with default `naan` and `subpublisher` for ARK generation.
To access the mongo shell, run:
```sh
make mongo-shell
```
## Tests
Ensure you initialized the development environment first.
To execute all tests, run the following command:
```sh
make test
```
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...