Coder Social home page Coder Social logo

petlist's Introduction

Petlist APP

Requirements

This web application has only two main requirements:

In order to install mysql you should type on Ubuntu:

$: sudo apt-get install mysql-server

In order to install node.js you should type:

$: sudo apt-get install build-essentials libssl-dev $: wget http://nodejs.org/dist/v0.6.15/node-v0.6.15.tar.gz $: tar xzvf node-v0.6.15.tar.gz $: cd node-v0.6.15 $: ./configure $: make $: sudo make install

In order to run this application you should:

  • Create the Mysql database 'sample' and the table 'pet' (look at the slides)
  • type in the app folder:

$: npm install $: node app

Running on Heroku

  • Signup to (Heroku)[heroku.com]
  • Install (Heroku Toolbelt)[https://toolbelt.heroku.com/]
  • run heroku login
  • run git clone [email protected]:mcollina/petlist.git; cd petlist
  • run heroku create --stack cedar --buildpack http://github.com/heroku/heroku-buildpack-nodejs.git
  • Add the cleardb addons by running heroku addons:add cleardb:ignite
  • run heroku config to know the credentials for the database
  • connect to the database using your preferred client and create the pet table.
  • run git push heroku master

Mail me if you have problems running this example: [email protected]

petlist's People

Contributors

mcollina avatar

Stargazers

 avatar

Watchers

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