It's a simple blog application implemented using Ruby on Rails. App is also deployed to Heroku.
- SQLite used for development
- Posts implemented using scaffold
- Users authentication using devise gem
- Basic styles using bootstrap-sass gem
If you are determined to run this app on your local server, follow the instructions:
- download this app
- open your terminal in the app folder
- run
bundle install --without production
to install all the necessary gems (not includingpg
andrails_12factor
gems for production) - run
rake db:migrate
to create local database - run
rails s
to start a local server - open your browser at
http://localhost:3000
Now you will see the main page of the app.
- Note that if you want to make any changes to the blog you need to sign in. Otherwise you can only view existing posts.
- Authenticated users can create posts and comments. Also they can delete or edit both, but only ones belonging to them.
- You can edit your account by choosing
Edit user
.