ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin14]
- postgresql - you can use the app if you are running this in MacOS. Else download from here
- ruby - currently using 2.3.1
- imagemagick - to run the paperclip gem - steps
- Clone this repo to your local
- Make sure you have postgresql, ruby and rails installed
- Ensure postgresql is running
- Navigate to within the folder and run
$ bundle install
- Initialize the db by running the below
$ rake db:create
$ rake db:migrate
- Run
$ rails s
You should see the webpage on localhost:3000
- To use the admin side of the webpage, you would have to add yourself as an admin
- Run
rails c
- To add a user, (with email admin , password admin123 name adminname ) run the below
User.create(:name => 'adminname', :password => 'admin123', :email => 'admin', :is_admin =>true)
- Once this goes through, go to localhost:3000/login and login with email and password
- Once you login, you will see link to add, edit and delete articles.
- Built in Ruby
- Sass is used for styling
- postgresql DB (so that the app can be ported to heroku)
- Need to switch to react(??)
- Authentication using bcrypt <<<<<<< HEAD
- Calendar widget added with simple_calendar
- CarrierWave and dropbox for image uploading =======
e40ecada4eb3a5b84a1080f23ddd3c5f76f2c090
- Simple rails tutorial - create a todo list
- Using rails console - Link
- Authentication with bcrypt - Link
- [DEBUGGING] - if gem install fails to onstall pg gem - Link <<<<<<< HEAD
- simple_calendar
- Markdown cheat sheet - try this =======
e40ecada4eb3a5b84a1080f23ddd3c5f76f2c090