https://github.com/Inist-CNRS/lodex
Raw File
Tip revision: 7ce9d4776cf1fda0d608fe396f941a9278869bdd authored by ThieryMichel on 15 February 2017, 16:46:31 UTC
Merge pull request #62 from Inist-CNRS/fix_link_function_publish
Tip revision: 7ce9d47
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
```
back to top