Coder Social home page Coder Social logo

postit's Introduction

Getting Started

  1. Make sure you have rails version 4. Type “rails -v” to make sure.

  2. From this project directory, do “bundle install –without production”

  3. To start the server “rails server”.

  4. Navigate your browser to localhost:3000.

Setting up with Git

  1. Instantiate this directory as a git repository with “git init”.

  2. Go to github.com, create a new repository, then follow instructions on how to add a remote repository that links to github.

  3. Remember, you have to “git add” changes to ready it for a commit, then “git commit” to commit those changes locally, then “git push origin master” to push it to the remote “origin” repository, which is the previously created github.com repository.

Deploying to Heroku

  1. Download the Heroku Toolbelt.

  2. Go to Heroku.com and register.

  3. Issue “heroku login” to authenticate, with the credentials from previous step. Make sure it’s a git repository, by issuing “git init”, and also “git add”, “git commit” your files.

  4. Then “heroku create” to create this app on heroku. This command also adds a “heroku” remote repository that you can push to.

  5. To deploy, issue “git push heroku master”.

  6. You may need to run migrations on heroku afterwards, with “heroku run rake db:migrate”.

  7. Other helpful heroku commands:

- heroku logs
- heroku logs -t
- heroku rename
- heroku restart
- heroku run console
- heroku help

postit's People

Contributors

lklyc avatar

Watchers

James Cloos avatar  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.