Update README: add npm

This commit is contained in:
Son NK 2020-02-04 17:56:47 +07:00
parent ba985d22dc
commit 86eb5068c7

View File

@ -548,7 +548,7 @@ All work on SimpleLogin happens directly on GitHub.
### Run code locally
The project uses Python 3.7+. First, install all dependencies by running the following command. Feel free to use `virtualenv` or similar tools to isolate development environment.
The project uses Python 3.7+ and Node v10. First, install all dependencies by running the following command. Feel free to use `virtualenv` or similar tools to isolate development environment.
```bash
pip3 install -r requirements.txt
@ -560,6 +560,12 @@ Then make sure all tests pass
pytest
```
Install npm packages
```bash
cd static && npm install
```
To run the code locally, please create a local setting file based on `example.env`:
```