mirror of
https://github.com/simple-login/app.git
synced 2025-10-03 20:09:30 +08:00
Update README: add npm
This commit is contained in:
parent
ba985d22dc
commit
86eb5068c7
1 changed files with 7 additions and 1 deletions
|
@ -548,7 +548,7 @@ All work on SimpleLogin happens directly on GitHub.
|
||||||
|
|
||||||
### Run code locally
|
### 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
|
```bash
|
||||||
pip3 install -r requirements.txt
|
pip3 install -r requirements.txt
|
||||||
|
@ -560,6 +560,12 @@ Then make sure all tests pass
|
||||||
pytest
|
pytest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Install npm packages
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd static && npm install
|
||||||
|
```
|
||||||
|
|
||||||
To run the code locally, please create a local setting file based on `example.env`:
|
To run the code locally, please create a local setting file based on `example.env`:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue