Skip to content

Profile page to share social media or any other link - Rails/Turbo

Notifications You must be signed in to change notification settings

luisintosh/pagedigital

Repository files navigation

Project

page.digital

Home screen Dashboard Create link

Install

Clone the repository

git clone git@github.com:/luisintosh/pagedigital.git
cd pagedigital

Check your Ruby version

ruby -v

The ouput should start with something like ruby 3.1.0

If not, install the right ruby version using rbenv (it could take a while):

rbenv install 3.1.0

Install dependencies

Using Bundler and Yarn:

bundle && yarn

Set environment variables

TODO

Initialize the database

rails db:create db:migrate db:seed

Add heroku remotes

Using Heroku CLI:

heroku git:remote -a project
heroku git:remote --remote heroku-staging -a project-staging

Serve

rails s

Deploy

With Heroku pipeline (recommended)

Push to Heroku staging remote:

git push heroku-staging

Go to the Heroku Dashboard and promote the app to production or use Heroku CLI:

heroku pipelines:promote -a project-staging

Directly to production (not recommended)

Push to Heroku production remote:

git push heroku

About

Profile page to share social media or any other link - Rails/Turbo

Topics

Resources

Stars

Watchers

Forks