|
|
@ -26,13 +26,13 @@ psql -U postgres postgres -c "CREATE DATABASE life_pex" |
|
|
|
## Start |
|
|
|
|
|
|
|
``` |
|
|
|
export LIFEPEX_SECRET="put something random here" # recommanded |
|
|
|
export LIFEPEX_BASE_URL="https://mydomain/base" # recommanded |
|
|
|
export LIFEPEX_DB="sqlite://sqlite.db" # REQUIRED |
|
|
|
echo LIFEPEX_DB="sqlite://sqlite.db" > .env.local # REQUIRED |
|
|
|
echo LIFEPEX_SECRET="put something random here" >> .env.local # recommanded |
|
|
|
echo LIFEPEX_BASE_URL="https://mydomain/base" >> .env.local # recommanded |
|
|
|
# you may also want to use postgres or something |
|
|
|
# export LIFEPEX_DB="postgres://root:toor@localhost/life_pex" |
|
|
|
# export LIFEPEX_BIND="0.0.0.0" # you may want to bind against something else than 127.0.01 |
|
|
|
# export LIFEPEX_ENV="production" # why not hide stacktraces ? |
|
|
|
# LIFEPEX_DB="postgres://root:toor@localhost/life_pex" |
|
|
|
# LIFEPEX_BIND="0.0.0.0" # you may want to bind against something else than 127.0.01 |
|
|
|
# LIFEPEX_ENV="production" # why not hide stacktraces ? |
|
|
|
./src/app.rb |
|
|
|
``` |
|
|
|
|
|
|
|