Code Monkey home page Code Monkey logo

term-c's Introduction

#Term-C

Our app on Heroku:

https://term-c.herokuapp.com/

ruby version : 2.0.0 rails version: 4.2.2

Postgres setup

Note: As for Mac, follow the tutorials on: http://www.tunnelsup.com/setting-up-postgres-on-mac-osx

  1. Install the postgres database server.

  2. Create a Postgres user. However, instead of "myapp" create a user named "termc"

  3. run the command:

    rake db:setup

  4. If all goes well, you should should be able to run the command

    $rails dbconsole

    =>\dt

And see the schema_migrations table

Schema | Name | Type | Owner --------+-------------------+-------+------- public | schema_migrations | table | termc (1 row)

Deploying to Heroku

  1. View your remotes:

    git remote -v

Do you see? heroku https://git.heroku.com/term-c.git (fetch) heroku https://git.heroku.com/term-c.git (push) origin [email protected]:robinsswei/Term-C.git (fetch) origin [email protected]:robinsswei/Term-C.git (push)

  1. If not, add the Heroku remote: ~/667-workspace/Term-C$ heroku git:remote -a term-c

  2. To deploy:

    git push heroku master

Pusher

App name: normal-duck-129

Developing Facebook Apps on Heroku

Instructions: https://devcenter.heroku.com/articles/facebook

Following the tutorial, I created a Facebook App which works locally. (App Name: Term-C-dev ,Site URL: http://localhost:3000/)

We still need to create another Facebook App when deploying on Heroku.

Test Users List: https://docs.google.com/spreadsheets/d/1vV0F46ov9ijSFP0OxbrY6h7mDD1CSYUyPDJHa-DAgek/edit?usp=sharing

term-c's People

Contributors

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