A Post-App created with Rails!!
- Open PHPMyAdmin, create a
DB
namedrails-notes-app
& importdb.sql
file. - Create the following environment variable:
RAILS_DB_PASSWORD="DB PASSWORD"
-
Go to
config/database.yml
file, line no.19
, and change the socket if yours is different!! -
Start the server
rails s
- Now, open it in browser:
localhost:3000