RubyonRailsCMS is an advanced CMS and blogging system. Download it for free and build awesome websites with it. To download, configure and use RubyonRailsCMS follow the below steps:
- Download Rubyinstaller
- create a folder and name it anything you want, for example "MyWebsite"
- install rubyinstaller in newly created folder (MyWebsite) - during installation check the check box "Add to Path"
- download and install Devkit (create a devkit folder inside MyWebsite and install extract devkit there)
- open command prompt and cd to devkit
- follow Quick start and Test instalation in https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
- download and install NodeJS
- install Rails by running "gem install rails"
- clone the repository by running "git clone https://github.com/Atiqullah-Naemi/RubyonRailsCMS.git"
- Once its done, cd into RubyonRailsCMS
- Run "bundle install" and then "rails db:migrate"
- Start the server by running "rails server"
- open a browser and type "localhost:30000"
If you get Bcrypt Load error after signup follow the below steps:
- cd into gems root. It should be under RubyXY-xXY (XY is ruby version)/lib/ruby/gems/x.y.z (x.y.z is your ruby version)/gems
- cd into bcrypt-x.y.z-mingw32 (x.y.z is bcrypt version)/ext/mri
- Run "ruby extconf.rb", then run "make" and then "make install" If make not recognized do:
- cd into devkit
- Run "devkitvars.bat"
- again cd into RubyXY-xXY (XY is ruby version)/lib/ruby/gems/x.y.z (x.y.z is your ruby version)/gems/bcrypt-x.y.z-mingw32 (x.y.z is bcrypt version)/ext/mri
- Run "make" and "make install"
- Start Rails Server again by runing "rails server", open a browser and type "localhost:3000"