Skip to content

Commit 12d3fab

Browse files
authored
Update README.md
1 parent f3b267d commit 12d3fab

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

product_api/README.md

+10-12
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,18 @@
1111
- [x] Database: **`SQLite3`**
1212

1313
### 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
2120

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
2624
```
2725
### Setup with docker
2826
```shell
29-
user@host[product_api]: docker-compose up --build
27+
$ docker-compose up --build
3028
```

0 commit comments

Comments
 (0)