From 2d1f241677eb0d076ac27d000b879e6a3dfda81f Mon Sep 17 00:00:00 2001 From: David Date: Fri, 5 Apr 2019 23:46:36 +0200 Subject: [PATCH] rails-database -> railsdatabase Naming the database rails-database throws ```Please specify a valid name for the service. Valid characters are: [A-Za-z0-9_]+``` --- docs/deployment/application-deployment.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/deployment/application-deployment.md b/docs/deployment/application-deployment.md index ade89e194..15f3bfe54 100644 --- a/docs/deployment/application-deployment.md +++ b/docs/deployment/application-deployment.md @@ -32,8 +32,8 @@ When you create a new app, Dokku by default *does not* provide any datastores su # plugin installation requires root, hence the user change sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git -# create a postgres service with the name rails-database -dokku postgres:create rails-database +# create a postgres service with the name railsdatabase +dokku postgres:create railsdatabase ``` > Each service may take a few moments to create. @@ -45,7 +45,7 @@ Once the service creation is complete, set the `DATABASE_URL` environment variab ```shell # on the Dokku host # each official datastore offers a `link` method to link a service to any application -dokku postgres:link rails-database ruby-rails-sample +dokku postgres:link railsdatabase ruby-rails-sample ``` > You can link a single service to multiple applications or use one service per application.