formatting doc change in refstack
Change-Id: I3e24dfc65f99f3541777c1fdbdfc41e083a084d4
This commit is contained in:
40
doc/refstack.md
Normal file → Executable file
40
doc/refstack.md
Normal file → Executable file
@@ -3,28 +3,28 @@ RefStack Configuration
|
|||||||
|
|
||||||
This is our documentation for how we get this set up::
|
This is our documentation for how we get this set up::
|
||||||
|
|
||||||
# Git you clonin'
|
# Git you clonin'
|
||||||
git clone http://github.com/stackforge/refstack
|
`git clone http://github.com/stackforge/refstack`
|
||||||
|
|
||||||
cd refstack
|
`cd refstack`
|
||||||
|
|
||||||
# Setup or update the database
|
# Setup or update the database
|
||||||
# NOTE: you are going to have to modify the db connection string in
|
# NOTE: you are going to have to modify the db connection string in
|
||||||
# `alembic.ini` to get this working
|
# `alembic.ini` to get this working
|
||||||
# PROTIP: if you just want to test this out, use `-n alembic_sqlite` to
|
# PROTIP: if you just want to test this out, use `-n alembic_sqlite` to
|
||||||
# make a local sqlite db
|
# make a local sqlite db
|
||||||
# $ alembic -n alembic_sqlite upgrade head
|
# $ alembic -n alembic_sqlite upgrade head
|
||||||
alembic upgrade head
|
`alembic upgrade head`
|
||||||
|
|
||||||
# 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 are smarter
|
# We use nginx and gunicorn, you may use something else if you are smarter
|
||||||
# than we are.
|
# than we are.
|
||||||
# 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 this winner, check out the config section and
|
# To actually configure this winner, check out the config section and
|
||||||
# crack open refstack.cfg in vim.
|
# crack open refstack.cfg in vim.
|
||||||
# `vim refstack.cfg`
|
# `vim refstack.cfg`
|
||||||
|
|
||||||
# Now browse to http://localhost:8000
|
Now browse to http://localhost:8000
|
||||||
|
Reference in New Issue
Block a user