Original docx by Kevin Muscat here
Steps on How to Deploy fatfreecrm onto Heroku
1. Clone ryanwood'sfat_free_crm version - git clone git@github.com:ryanwood/fat_free_crm.git
2. Download the latest version of mysql server at http://dev.mysql.com/downloads/
3. Uninstall rails version higher than 2.3.8 and rake version higher than 0.8.7
gem uninstall rails -v=x.x.x
gem uninstall rake -v=x.x.x
4. Download rails version 2.3.8
gem install rails -v=2.3.8
5. Download rake version 0.8.7
gem install rake -v=0.8.7
NOTE: other updated version/s of rails and rake may cause error/s
6. Download mysql gem
gem install mysql
7. Download mysql2 gem..this can be a tricky part because you have to specify the location of the libmysql and config file
gem install mysql2 -- '--with-mysql-lib="C:\Program Files\MySQL\MySQL Server 5.5\lib" --with-mysql-include="C:Program Files\MySQL\MySQL Server 5.5\include"
--with-mysql-config"C:Program Files\MySQL\MySQL Server 5.5\bin" --platform=ruby
8. Download heroku gem
gem install heroku
9. Go to the fatfreecrm folder on your local machine
10. Follow the steps of ryanwood'sReadme.rdoc
11. Create your heroku app
if you are using ruby 1.8.7 type:
heroku create vertsol2011crmxx --stack bamboo-ree-1.8.7
if you are using ruby 1.9.2 type:
heroku create vertsol2011crmxx or heroku create vertsol2011crmxx --stack bamboo-mri-1.9.2
NOTE: "xx" is your classnumber given to you by Sir.Paul
12. Push you application to heroku
git push heroku master
13. Download sinatra gem to be able to push your database unto heroku
gem install taps
14. Push your database to heroku
herokudb:push
After all these steps you are now able to launch fatfreecrm on Heroku.
Comments (0)
You don't have permission to comment on this page.