Kirin
/
.7
\ , //
|\.--._/|//
/\ ) ) ).'/
/( \ // /
/( J`((_/ \
/ ) | _\ /
/|) \ eJ L
| \ L \ L L
/ \ J `. J L
| ) L \/ \
/ \ J (\ /
_....___ | \ \ \```
,.._.-' '''--...-||\ -. \ \
.'.=.' ` `.\ [ Y
/ / \] J
Y / Y Y L
| | | \ | L
| | | Y A J
| I | /I\ /
| \ I \ ( |]/|
J \ /._ / -tI/ |
L ) / /'-------'J `'-:.
J .' ,' ,' , \ `'-.__ \
\ T ,' ,' )\ /| ';'---7 /
\| ,'L Y...-' / _.' / \ / /
J Y | J .'-' / ,--.( /
L | J L -' .' / | /\
| J. L J .-;.-/ | \ .' /
J L`-J L____,.-'` | _.-' |
L J L J `` J |
J L | L J |
L J L \ L \
| L ) _.'\ ) _.'\
L \('` \ ('` \
) _.'\`-....' `-....'
('` \
`-.___/
Setup
- Install dependencies with
pip install -r requirements.txt
(virtualenv is strongly advised) - Create a configuration file by copying and editing
kirin/default_settings.py
- You have to create a database as defined in the configuration file
- Create a file
.env
with the path to you configuration file:
KIRIN_CONFIG_FILE=/absolute/path/to/settings.py
- Setup the database:
honcho run ./manage.py db upgrade
- Build the protocol buffer files:
./setup.py build_pbf
- Run the developement server:
honcho start
- Enjoy