No description
- Ruby 48.1%
- HTML 37.7%
- Less 10.1%
- JavaScript 2.1%
- CoffeeScript 1.5%
- Other 0.5%
| app | ||
| bin | ||
| config | ||
| db | ||
| lib | ||
| public | ||
| test | ||
| vendor/assets | ||
| .gitignore | ||
| config.ru | ||
| Gemfile | ||
| Gemfile.lock | ||
| Rakefile | ||
| readme.md | ||
| README.rdoc | ||
Rails Website Template
A template for creating rails websites that includes the following:
- User System (Devise)
- Twitter Bootstrap + Flatstrap + Font Awesome
- Basic Blog
- Admin Panel
- SummerNote editor
- Image upload/File System
- Translation (pt-BR, EN)
- Contact System
- Maintaince Mode
- Email System (PaperClip + Mandrill)
Installation
- Clone the project:
https://github.com/jamesperet/rails_website_template.git - Create postgres databases for development and test enviorments.
- Configure the databases in
config/database.yml - Run
rake db:migrate - Run
rake bootstrap:all - Start the server:
rails server -p 3000 - Login as
admin@website.comwith the password12345678
Heroku Deploy
- Create a new heroku app:
heroku create new-app-name - Run
rake assets:precompile - Run
figaro heroku:set -e productionto copy env variables fromconfig/application.ymland set them in heroku - Add the heroku postgre addon:
heroku addons:add heroku-postgresqlto create and configure a postgres database in heroku server - Commit changes:
git commit -a -m "commit message" - Push to heroku:
git push heroku masterto deploy the repo - Migrate the database:
heroku run rake db:migrate - Create the initial config and admin user:
heroku run rake bootstrap:all
Todo's
- Log
- Tests
- Background processing (redis)
- Search System
- Wiki/Codex
- Portfolio
- Store
- Inventory
- Module Controller
- geo location/maps
- Help
- new admin email
- Invite user/admin
- admin panel tour
- rewrite readme file
- Install instructions
- Heroku Deploy button
Example Websites
- Velvet Design (Under Development)
- jamesperet.com v2 (Under Development)
- GoldTone (Under Development)
- benjaminperet (Under Development)
- High Effects (Under Development)