Giter Club home page Giter Club logo

polusic's Introduction

README

Ruby version

ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin14]

System dependencies

  • 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

Setup

  1. 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

Adding an admin

  1. 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.

Stack

  • 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

Link Dumps

e40ecada4eb3a5b84a1080f23ddd3c5f76f2c090

polusic's People

Contributors

mathuramg avatar

Watchers

James Cloos avatar Yining Shi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.