File tree 1 file changed +6
-5
lines changed 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Prepare
14
14
- mysql # default port
15
15
16
16
```
17
- # import code /databases/schema.sql to database `valentine`
17
+ # import vilya /databases/schema.sql to database `valentine`
18
18
$ mysql -uroot -e 'create database valentine;'
19
19
$ mysql -uroot -D valentine < vilya/databases/schema.sql
20
20
```
@@ -24,9 +24,10 @@ $ mysql -uroot -D valentine < vilya/databases/schema.sql
24
24
- customize code config
25
25
```
26
26
# after clone code repo you can change the default config by:
27
- $ touch CODE_REPO/code/local_config.py
28
- # overwrite configs defined in code/config.py.
29
- $ vim CODE_REPO/code/local_config.py
27
+ $ cd {CODE_REPO}
28
+ $ cp vilya/local_config.py.tmpl vilya/local_config.py
29
+ # overwrite configs defined in vilya/config.py.
30
+ $ vim vilya/local_config.py
30
31
```
31
32
32
33
Getting started
51
52
1 . single http daemon
52
53
- ` gunicorn -b 127.0.0.1:8001 smart_httpd:app ` # git http daemon
53
54
54
- 2 . code .config.DOMAIN
55
+ 2 . vilya .config.DOMAIN
55
56
- if you run 'gunicorn -b IP: PORT app: app ', the DOMAIN should be 'http://IP:PORT/ '
56
57
57
58
You can’t perform that action at this time.
0 commit comments