Skip to content

Latest commit

 

History

History
46 lines (41 loc) · 1.22 KB

README.md

File metadata and controls

46 lines (41 loc) · 1.22 KB

docker-ml-django

Prerequisite

  1. Install Docker
  1. Download or clone this repository

Start docker container

  1. Open terminal or cmd on Windows
  2. Go to "docker-ml-django" folder
  3. Execute the command below
docker-compose up --build
  1. Wait until you see something like this
mlapi    | Performing system checks...
mlapi    | 
mlapi    | System check identified no issues (0 silenced).
mlapi    | 
mlapi    | You have 13 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
mlapi    | Run 'python manage.py migrate' to apply them.
mlapi    | 
mlapi    | October 02, 2017 - 18:57:51
mlapi    | Django version 1.11.5, using settings 'sidtechtalent.settings'
mlapi    | Starting development server at http://0.0.0.0:8000/

Now we're good to go

Access exmaple API

Open browser and browse to

http://localhost:8000/api/hello

ML implementation

Implement your ML code at

sidtechtalent/api/views.py

Then update path at

sidtechtalent/sidtechtalent/urls.py