File tree 1 file changed +10
-12
lines changed
1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 11
11
- [x] Database: ** ` SQLite3 ` **
12
12
13
13
### Setup with virtualenv
14
- Create activate and install dependencies
15
- ``` shell
16
- user@host[product_api]: virtualenv -p /usr/bin/python3 venv
17
- user@host[product_api]: source venv/bin/activate
18
- (venv) user@host[product_api]: pip install -U pip
19
- (venv) user@host[product_api]: pip install -r requirements.txt
20
- ```
14
+ ``` bash
15
+ # Create activate and install dependencies
16
+ $ virtualenv -p /usr/bin/python3 venv
17
+ $ source venv/bin/activate
18
+ $ pip install -U pip
19
+ $ pip install -r requirements.txt
21
20
22
- Migrate database and run the dev server
23
- ``` shell
24
- (venv) user@host[product_api]: python manage.py migrate
25
- (venv) user@host[product_api]: python manage.py runserver 8001
21
+ # Migrate database and run the dev server
22
+ $ python manage.py migrate
23
+ $ python manage.py runserver 8001
26
24
```
27
25
### Setup with docker
28
26
``` shell
29
- user@host[product_api]: docker-compose up --build
27
+ $ docker-compose up --build
30
28
```
You can’t perform that action at this time.
0 commit comments