some formatting and more context in README
parent
5ca4bf707b
commit
f0bad17e89
13
README.md
13
README.md
|
|
@ -10,18 +10,25 @@ first you have to install the dependencies:
|
||||||
|
|
||||||
`bundle install`
|
`bundle install`
|
||||||
|
|
||||||
|
|
||||||
if you want the development group included run this first:
|
if you want the development group included run this first:
|
||||||
|
|
||||||
`bundle config set --local with 'development'
|
`bundle config set --local with 'development'`
|
||||||
|
|
||||||
|
|
||||||
then create a .env.rb file in the root directory that contains the following ENV attributes:
|
then create a .env.rb file in the root directory that contains the following ENV attributes:
|
||||||
APP_SESSION_SECRET
|
|
||||||
DB_NAME
|
|
||||||
|
ENV["APP_SESSION_SECRET"] = {output of a random 64 byte secret}
|
||||||
|
|
||||||
|
ENV["DB_NAME"] = {db file name}
|
||||||
|
|
||||||
|
|
||||||
after the dependencies are installed, you have to create the db
|
after the dependencies are installed, you have to create the db
|
||||||
|
|
||||||
`sequel -m db/migrations sqlite://db/{DB_NAME}`
|
`sequel -m db/migrations sqlite://db/{DB_NAME}`
|
||||||
|
|
||||||
|
|
||||||
to start the application with Falcon:
|
to start the application with Falcon:
|
||||||
|
|
||||||
`rackup -o {ip address} -p {port} -s falcon`
|
`rackup -o {ip address} -p {port} -s falcon`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue