fix "Try the demo app" in docs (#38)

* fix "Try the demo app" in docs

* fix "Get Started" setup in docs
This commit is contained in:
frederikhors 2020-02-23 21:32:22 +01:00 committed by GitHub
parent 51e105699e
commit 7763251fb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 16 additions and 7 deletions

View File

@ -93,7 +93,7 @@ database:
port: 5432 port: 5432
dbname: app_development dbname: app_development
user: postgres user: postgres
password: '' password: postgres
#schema: "public" #schema: "public"
#pool_size: 10 #pool_size: 10

View File

@ -54,7 +54,7 @@ database:
port: 5432 port: 5432
dbname: app_production dbname: app_production
user: postgres user: postgres
password: '' password: postgres
#pool_size: 10 #pool_size: 10
#max_retries: 0 #max_retries: 0
#log_level: "debug" #log_level: "debug"

View File

@ -1,9 +1,12 @@
version: '3.4' version: '3.4'
services: services:
db: db:
image: postgres image: postgres:12
ports: ports:
- "5432:5432" - "5432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
# redis: # redis:
# image: redis:alpine # image: redis:alpine

View File

@ -34,6 +34,12 @@ Super Graph has a rich feature set like integrating with your existing Ruby on R
# clone the repository # clone the repository
git clone https://github.com/dosco/super-graph git clone https://github.com/dosco/super-graph
# run db in background
docker-compose up -d db
# see logs and wait until DB is really UP
docker-compose logs db
# setup the demo rails app & database and run it # setup the demo rails app & database and run it
docker-compose run rails_app rake db:create db:migrate db:seed docker-compose run rails_app rake db:create db:migrate db:seed
@ -1767,7 +1773,7 @@ database:
port: 5432 port: 5432
dbname: app_development dbname: app_development
user: postgres user: postgres
password: '' password: postgres
#schema: "public" #schema: "public"
#pool_size: 10 #pool_size: 10

View File

@ -19,7 +19,7 @@ default: &default
encoding: unicode encoding: unicode
host: db host: db
username: postgres username: postgres
password: password: postgres
pool: 5 pool: 5
development: development:

View File

@ -109,7 +109,7 @@ database:
port: 5432 port: 5432
dbname: {% app_name_slug %}_development dbname: {% app_name_slug %}_development
user: postgres user: postgres
password: '' password: postgres
#schema: "public" #schema: "public"
#pool_size: 10 #pool_size: 10

View File

@ -54,7 +54,7 @@ database:
port: 5432 port: 5432
dbname: {% app_name_slug %}_development dbname: {% app_name_slug %}_development
user: postgres user: postgres
password: '' password: postgres
#pool_size: 10 #pool_size: 10
#max_retries: 0 #max_retries: 0
#log_level: "debug" #log_level: "debug"