Skip to content

Abaltaci/hybrid-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#http://stackoverflow.com/questions/17271319/installing-pip-on-mac-os-x

sudo easy_install pip

#https://docs.djangoproject.com/en/1.9/topics/install/#installing-development-version

git clone [email protected]:naofumi-npd/hybrid-api.git

go to project root cd hybrid-api

git clone git://github.com/django/django.git

pip install -e django/

if you need to change mysql credentials vim hybrid/settings.py

you need to install some pip modules pip install MySQL-python

http://www.django-rest-framework.org/ pip install djangorestframework pip install markdown # Markdown support for the browsable API. pip install django-filter # Filtering support

go to project directory

python manage.py migrate

CREATE TABLE menu ( id int(11) unsigned NOT NULL AUTO_INCREMENT, name varchar(255) DEFAULT NULL, description varchar(255) NOT NULL, image varchar(255) NOT NULL, PRIMARY KEY (id) ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=geostd8;

npm instlal

python manage.py runserver

go to nodeapp directory run node app.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.5%
  • CSS 30.5%
  • Python 5.2%
  • HTML 0.8%