mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
Ruby on Rails on Railway
Wow, that's a tongue twister huh
Install railway if you haven't
npm install -g railway
Install dependencies (rails) using bundle
bundle install
Generate a postgres project
rails new myapp --database=postgresql
Change directories
cd myapp
Run rails with railway
railway run rails server
Congrats, you're online