jzzdog / azcommunity

allianz community
0 stars 1 forks source link

= About

This is example of community web application with

== System requirements

= Deployment instructions

Read this section if you have not all points, mentioned in requrements

== Configure environment

$ sudo apt-get install curl $ sudo apt-get install libmysqlclient-dev $ sudo apt-get install nodejs

For production deploing instll apache and data base server

$ sudo apt-get install apache2

$ sudo apt-get install mysql-server

== Install ruby and rvm $ sudo apt-get install ruby1.9.3

$ curl -L https://get.rvm.io | bash -s stable

set in terminal run as login shell and at new window start

$ rvm requirements --autolibs=enable

$ rvm install 2.0.0

$ rvm use 2.0.0

$ gem install rails --version 4.0.0 --no-ri --no-rdoc

== Prepare project $ bundle install

$ rake db:migrate

$ rake db:seed

$ rake about

$ rake assets:precompile

$ rake test

$ rails server

goto http://localhost:3000/ to check it Use $ rake routes to check routes