This is the repo that goes along with my Fullstack E-Commerce app tutorial. Check it out here https://youtu.be/hURUMwdCWuI?si=YxSO5hpRAESz6rEU
Things you may want to cover:
-
Ruby version
3.2.2
-
Configuration Add your env variables to the
config/credentials.yml.enc
file. You can do this by runningbin/rails credentials:edit
-
Database creation Locally we use sqlite3 as our database. This is already set up for you. In production make sure your
DATABASE_URL
env variable is set. We use PostgreSQL in production. -
Database initialization run
bin/rails db:migrate
to create the tables -
Deployment instructions We deploy on Render create a free account here render.com