You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: create_git_repository.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,8 @@ Use the command `hub create -p renuo/[project-name]` to create the repo and add
12
12
13
13
## Public repos need a license
14
14
15
-
If your repository is public, ensure that it contains a license. We usually use the [MIT](https://choosealicense.com/licenses/mit/) license if possible or a [CreativeCommons](https://creativecommons.org/licenses/) license for documentation-only repositories (such as the application setup guide 🙂).
15
+
If your repository is public, ensure that it contains a license.
16
+
We usually use the [MIT](https://choosealicense.com/licenses/mit/) license if possible or a [CreativeCommons](https://creativecommons.org/licenses/) license for documentation-only repositories (such as the application setup guide 🙂).
16
17
You can add a license directly on GitHub while initializing a repository by selecting a license template in the "Add a license" dropdown.
17
18
However, if the repository is already initialized, you're still able to add a license using a template:
Copy file name to clipboardExpand all lines: go_live.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,18 +25,24 @@ This is done via page rules in Cloudflare.
25
25
1. Enter `https://www.example.com/$1`
26
26
1. Click "Save and Deploy"
27
27
28
+
## Deploio (Preferred Deployment Method)
29
+
30
+
We now recommend deploying applications using [Deploio](https://deplo.io), moving away from Heroku.
31
+
32
+
When preparing your app for production on Deploio, ensure the following:
33
+
34
+
* Verify the machine type of the PostgreSQL database in the PostgreSQL resource view.
35
+
* Confirm the configured application size in the application configuration tab.
36
+
* Ensure the application replica count is correctly set in the application configuration tab.
37
+
38
+
For detailed instructions and best practices, including quick start guides for a variety of frameworks, please refer to the [Deploio deployment documentation](https://docs.deplo.io/documentation/networking_and_deployment/).
39
+
28
40
## Heroku
29
41
30
42
* Check the size and amount of dynos on Heroku
31
43
* Check the database size plan on Heroku and upgrade if it is foreseeable that 10'000 rows are exceeded in a short time
32
44
* Check additional addons and according plans on Heroku
33
45
34
-
## Deploio
35
-
36
-
* Verify the machine type of the PostgreSQL database in the PostgreSQL resource view
37
-
* Confirm the configured application size in the application configuration tab
38
-
* Ensure the application replica count is correctly set in the application configuration tab
39
-
40
46
## Other
41
47
42
48
* Reset admin credentials, seeds, ... if necessary
1.[Create an Application Server for Heroku](create_application_server_heroku.md)
13
-
1.[Create an Application Server for Deploio](create_application_server_deploio.md)
19
+
1.[Create an Application Server for Deploio](create_application_server_deploio.md) or [Create an Application Server for Heroku](create_application_server_heroku.md)
14
20
1.[Configure the CI / CD](configure_ci.md)
15
21
16
-
Once here, your app should be up and running on all three environments.
22
+
Once here, your app should be up and running on all environments.
17
23
18
24
It's now time to introduce some more tools which will help you and the team to keep a high quality during the project development.
Copy file name to clipboardExpand all lines: ruby_on_rails/app_initialisation.md
+14-17Lines changed: 14 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,32 +65,29 @@ Some other adjustments must be performed manually.
65
65
66
66
Please perform these adjustments manually:
67
67
68
-
#### ENV variables with Figaro
68
+
#### ENV variables
69
69
70
-
* Add `figaro` to Gemfile. Check the [gem homepage](https://github.com/laserlemon/figaro) to see how to install the gem
71
-
(usually `bundle exec figaro install` is enough). Delete the newly created file `config/application.yml`...
72
-
* and create `config/application.example.yml` where you will specify the only environment variable you need for now:
70
+
* Add `dotenv-rails` to Gemfile. Check the [gem homepage](https://github.com/bkeepers/dotenv) to see how to install the gem.
71
+
* and create `.env.example` in the root folder of the project where you will specify the only environment variable you need for now:
73
72
`SECRET_KEY_BASE`.
74
-
* Going forward we will only push the `config/application.example.yml` file to the repository in order to protect our env variables.
75
-
* Add application.yml to .gitignore
76
-
* Add the following section to your `bin/setup` script so that the `application.yml` is created from the `application.example.yml` when the project is setup locally:
73
+
* Going forward we will only push the `.env.example` file to the repository in order to protect our env variables.
74
+
* Add .env to .gitignore
75
+
* Add the following section to your `bin/setup` script so that the `.env` is created from the `.env` when the project is setup locally:
0 commit comments