Skip to content

Commit ec53dbf

Browse files
committed
Update readme about vilya.
1 parent a7e5154 commit ec53dbf

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Prepare
1414
- mysql # default port
1515

1616
```
17-
# import code/databases/schema.sql to database `valentine`
17+
# import vilya/databases/schema.sql to database `valentine`
1818
$ mysql -uroot -e 'create database valentine;'
1919
$ mysql -uroot -D valentine < vilya/databases/schema.sql
2020
```
@@ -24,9 +24,10 @@ $ mysql -uroot -D valentine < vilya/databases/schema.sql
2424
- customize code config
2525
```
2626
# 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
3031
```
3132

3233
Getting started
@@ -51,7 +52,7 @@ FAQ
5152
1. single http daemon
5253
- `gunicorn -b 127.0.0.1:8001 smart_httpd:app` # git http daemon
5354

54-
2. code.config.DOMAIN
55+
2. vilya.config.DOMAIN
5556
- if you run 'gunicorn -b IP:PORT app:app', the DOMAIN should be 'http://IP:PORT/'
5657

5758

0 commit comments

Comments
 (0)