small changes to refstack readme
Change-Id: I5547aa2bece59adaf811b518ff82029a09f85e13
This commit is contained in:
parent
17423b6646
commit
14029e5433
@ -8,20 +8,33 @@ Git you clonin'
|
|||||||
|
|
||||||
`cd refstack`
|
`cd refstack`
|
||||||
|
|
||||||
|
Install dependencies (on ubuntu 13.x)..
|
||||||
|
|
||||||
|
`apt-get install python-dev`
|
||||||
|
|
||||||
|
`apt-get install python-pip`
|
||||||
|
|
||||||
|
`easy_install -U setuptools`
|
||||||
|
|
||||||
|
`python setup.py install`
|
||||||
|
|
||||||
|
|
||||||
Setup or update the database
|
Setup or update the database
|
||||||
|
|
||||||
NOTE: you are going to have to modify the db connection string in `alembic.ini` to get this working
|
NOTE: you are going to have to modify the db connection string in `alembic.ini` to get this working
|
||||||
|
|
||||||
PROTIP: if you just want to test this out, use `-n alembic_sqlite` to make a local sqlite db
|
PROTIP: if you just want to test this out, use `-n alembic_sqlite` to make a local sqlite db
|
||||||
`alembic -n alembic_sqlite upgrade head`
|
|
||||||
|
|
||||||
`alembic upgrade head`
|
`alembic -n alembic_sqlite upgrade head`
|
||||||
|
or
|
||||||
|
`alembic upgrade head` If you've got mysql or another database of choice.
|
||||||
|
|
||||||
Plug this bad boy into your server infrastructure.
|
Plug this bad boy into your server infrastructure.
|
||||||
We use nginx and gunicorn, you may use something else if you so desire.
|
We use nginx and gunicorn, you may use something else if you so desire.
|
||||||
|
|
||||||
For the most basic setup that you can try right now, just kick off
|
For the most basic setup that you can try right now, just kick off
|
||||||
gunicorn:
|
gunicorn:
|
||||||
|
|
||||||
`gunicorn -b 0.0.0.0:8000 refstack.web:app`
|
`gunicorn -b 0.0.0.0:8000 refstack.web:app`
|
||||||
|
|
||||||
To actually configure refstack, check out the config section and
|
To actually configure refstack, check out the config section and
|
||||||
|
Loading…
Reference in New Issue
Block a user