Skip to content

Commit

Permalink
Merge branch 'realstorypro:main' into customizations
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid Medovyy committed May 20, 2023
2 parents 84d93e3 + fc9b9f4 commit 37c54ec
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
web: bundle exec puma -t 5:5 -p ${PORT:-5000} -e production
worker: bundle exec sidekiq
release: ./bin/release
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,20 @@ You can deploy the customizations branch to Heroku using the following command:
git push heroku customizations:main
```

Step 3. Configure the environment variables
### Step 4. Configure the domain
Configure the domain using the `heroku domains:add` command.
Don't forget to update the DNS records for your domain.
You will need to point the CNAME record to the Heroku app.
```bash
heroku domains:add www.yourcustomdomain.com
```
### Step 5. Configure the SSL certificate
Configure the SSL certificate using the `heroku certs:auto:enable` command.
### Step 6. Configure addons
Add the database and redis addons using the following commands:
```bash
heroku addons:create heroku-redis:mini
heroku addons:create heroku-postgresql:basic
```
3 changes: 3 additions & 0 deletions bin/release
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
rake db:migrate
rake blueprints:update

0 comments on commit 37c54ec

Please sign in to comment.