Skip to content

mr-6/django-scikit-heroku

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django scikit-learn app for svm module

A django app running on heroku that provides a simple interface for a user to collect image training data, and upload images to test against that training data.

deployed here for testing: https://thawing-springs-8648.herokuapp.com/

Deploy to Heroku

Clone and add to git

  $ git clone git@github.com:cclay/django-scikit-app.git
  $ git init
  $ git add .
  $ git commit -m "init"

Specify custom buildpack and push to heroku

  $ heroku login
  $ heroku config:set BUILDPACK_URL=https://github.com/dbrgn/heroku-buildpack-python-sklearn/
  $ git push heroku master
  $ heroku open     # Open the app in the browser

Update files in Heroku

  $ git push heroku master

Develop locally

Install requirements into a virtualenv:

  $ virtualenv env
  $ source env/bin/activate
  $ pip install -r requirements.txt
  $ deactivate # Stop virtualenv when you are done

Running locally

Locally:

  $ python app.py      # Use default 8080 port

Open browser at http://0.0.0.0:8080

License

MIT License

About

Testing out the scikit svm classifier on heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.7%
  • HTML 15.5%
  • CSS 1.8%