Updated Config file instructions authored by Elbez Hammouda's avatar Elbez Hammouda
...@@ -40,13 +40,18 @@ pip install -r requirements.txt ...@@ -40,13 +40,18 @@ pip install -r requirements.txt
``` ```
## Execution ## Execution
If you want to add authentication to VS2N (optional): 1. If you want to add authentication to VS2N (optional):
1. Add MongoDB credentials in `default.config.py` and rename it to `config.py` * Generate users credentials (Email/Password) using `python addUser.py`
2. Generate users credentials (Email/Password) using `python addUser.py` 2. Rename `default.config.py` to `config.py`
Using Python >= 3.0 (**make sure MongoDB is running**) run `python VS2N.py` to start VS2N. If everything is fine, the web interface should appear automatically. 3. If MongoDB is protected by a password:
* Add MongoDB credentials in `config.py`
4. Using Python >= 3.0 (**make sure MongoDB is running**) run `python VS2N.py` to start VS2N. If everything is fine, the web interface should appear automatically.
## Folder structure ## Folder structure
... ...
......