Simple blog is a easiest way to get your blog and personal page up and running, it's powered Rails as the backend and front-end is made with Bootstrap. All credit goes to IronSummitMedia for the bootstrap template.
Markdown supported, format and add
code blocks
with ease.
- Fork it!
- Then run the following from project path:
bundle install
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rails s
- Set the following in your environment variables:
SITE_NAME=AH
SITE_TITLE=My Blog
SITE_HEADING_TITLE=My Blog Title
SITE_HEADING_SUBTITLE=Some awesome subtitle
GIHUB_URL=//www.github.com/anonyo
FACEBOOK_URL=//facebook.com/anonyo
TWITTER_URL=//twitter.com/hossainanonyo
[email protected]
ADMIN_PASSWORD=somepassword
Sign up on SendGrid for a free account
SENDGRID_USERNAME=your_sendgrid_username
SENDGRID_PASSWORD=your_sendgrid_password
DOMAIN_NAME=your_domain_name.com
In development, create a .env
file and cut and paste above with your info.
- Then you'll need to create an Admin user, run the following rake task.
bundle exec rake db:seed
Now you can sign in from /admins/sign_in
Path to new post and page will appear on nav.
You're good to go!
RSpec and Cabybara is used for testing.
bundle exec rake