No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
log
public
test
vendor/assets
.bowerrc
.gitignore
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
bower.json
config.ru
development
true

README.md

RoR cms

This is rails cms application for my personal website. It's pretty relying on Rails Api, assets pipeline and built-in test suits.

#####configuration

  • rename "config/local_env-sample.yml" to "config/local-env.yml", and fill out info below
  • Cloudinary for picture uploder for production.
  • Sendgrid for mailer.
  • database: sgqlite3 for dev, Postgres for production
  • Puma gem for production server(Heroku). Check config file, "config/puma.rb"

#####Envrionment

tested on OSX

Ruby version: 2.2.2 Rails version: 4.2.3 Bundler version 1.9.4

#####Installation

  • install imagemagick on the system. If you use brew on OSX,
brew install imagemagik
  • install bundles bundle install
  • sync db bundle exec rake db:migrate
  • sync db for test bundle exec rake db:migrate RAILS_ENV=test
  • populate db bundle exec rake db:seed
  • install frontend packages using bower bower install
  • test before running bundle exec rake test
  • run server! rails server
  • default user is "admin@example.com", and password "foobar"
Heroku

remove public/assets folder bundle exec rake assets:clobber then push to heroku

To-Do
  • Apply Google Analytics and dashboard on admin side.
  • Footer options