aperepelkin/chishop
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
== How to run 1. bundle install 2. bundle exec rake db:migrate 3. bundle exec rake db:seed 4. bundle exec rake db:admin:create 3. rails server Install DevKit if OS is Windows https://github.com/oneclick/rubyinstaller/wiki/Development-Kit Install mysql2 gem on Windows gem install mysql2 -v='0.2.8' -- '--with-mysql-lib="D:\Program Files\MySQL\MySQL Server 5.5\lib" --with-mysql-include="D:\Program Files\MySQL\MySQL Server 5.5\include" then copy libmysql.dll to RUBY_PATH/bin or add it to Path if you specify root user to mysql then run bundle exec rake db:create for db creation bundle exec rake db:drop for db drop