Skip to content

Commit 18e5e1c

Browse files
committed
remove some obsolete information from readme
1 parent f4ea1be commit 18e5e1c

File tree

1 file changed

+5
-25
lines changed

1 file changed

+5
-25
lines changed

README.md

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,7 @@ pip3 install -r requirements.txt
2121

2222
4 (Optional) Change database in settings.py file
2323

24-
5 Create database tables
25-
26-
```
27-
python3 manage.py makemigrations core
28-
python3 manage.py migrate
29-
```
24+
5 (Optional) Configure alembic
3025

3126
6 Run your application
3227

@@ -148,18 +143,9 @@ proxy_py@server:~/proxy_py$ vim proxy_py/settings.py
148143
```
149144

150145
```
151-
from ._settings import *
152-
153-
DATABASES = {
154-
'default': {
155-
'ENGINE': 'django.db.backends.postgresql_psycopg2',
156-
'NAME': 'DB_NAME',
157-
'USER': 'USERNAME',
158-
'PASSWORD': 'PASSWORD',
159-
'HOST': '127.0.0.1',
160-
'PORT': '5432',
161-
},
162-
}
146+
DATABASE_CONNECTION_ARGS = (
147+
'postgresql://USERNAME:PASSWORD@localhost/DB_NAME',
148+
)
163149
```
164150

165151
5 Copy supervisor config example and change it for your case
@@ -190,10 +176,4 @@ root@server:~$ /etc/init.d/nginx restart
190176

191177
## What is it depend on?
192178

193-
```
194-
lxml
195-
pysocks
196-
django
197-
aiohttp
198-
aiosocks
199-
```
179+
See requirements.txt

0 commit comments

Comments
 (0)