|
1 | 1 | page_title: Deploying a Rails app with your own database |
2 | 2 | page_author: |
3 | | -page_description: Deploying a Rails app with your own database |
4 | | -page_keywords: |
| 3 | +page_description: Want to deploy a Ruby on Rails app with your own database, such as MySQL or Mongo DB? Read this article to findout how. |
| 4 | +page_keywords: database mongo mysql byodb |
5 | 5 |
|
6 | 6 | ## Deploying a Rails app with your own database |
7 | 7 |
|
8 | | -Out of the box, Ninefold enables you to implement a database server with PostgreSQL installed. Want to bring your own database? Read on! The following is our recommendation on how to implement BYOD. |
| 8 | +Out of the box, Ninefold enables you to implement a database server with PostgreSQL installed. Want to bring your own database such as MySQL or MongoDB? Read on! The following is our recommendation on how to implement BYODB. |
9 | 9 |
|
10 | | -Before you deploy, we recommend you read the entire article so you deploy with all of the current settings. There is a quiz at the end of the article! |
| 10 | +Before you deploy, we recommend you __read the entire article__ so you deploy with all of the current settings. There is a quiz at the end of the article! |
11 | 11 |
|
12 | 12 | #### Infrastructure |
13 | | -If your want your DB hosted on Ninefold and its not PostgreSQL, Please ensure you deploy this as a bare virtual server before deploying your app ensuring you tick the 'Enable NinefoldNet' box to ensure it is provisioned on the same private network as your app. |
| 13 | +If you want your DB hosted on Ninefold and its not PostgreSQL, Please ensure you deploy this as a bare virtual server before deploying your app ensuring you tick the 'Enable NinefoldNet' box to ensure it is provisioned on the same private network as your app. |
14 | 14 |
|
15 | 15 | #### Gemfile |
16 | 16 |
|
@@ -38,13 +38,13 @@ For a ‘production’ environment: |
38 | 38 |
|
39 | 39 | Your file can include encoding, if you like. |
40 | 40 |
|
41 | | -#### Deploying an app with BYOD |
| 41 | +#### Deploying an app with BYODB |
42 | 42 |
|
43 | 43 | In the deployment wizard, just select No to the question of __Want a new PostgreSQL database built?__. |
44 | 44 |
|
45 | 45 | #### Environmental variables |
46 | 46 |
|
47 | | -In the dashbaord, we have the environment variables section (under the configuration tab) or in step 3 of the deployment wizard, we will ask for your variables. You will want to include the following configured line for your database: |
| 47 | +In the dashboard, we have the environment variables section (under the configuration tab) or in step 3 of the deployment wizard, we will ask for your variables. You will want to include the following configured line for your database: |
48 | 48 |
|
49 | 49 | DATABASE_URL=mysql2://username:password@location:port/your_db_name |
50 | 50 |
|
|
0 commit comments