- Install Docker
- Docker for Mac https://docs.docker.com/docker-for-mac/install/
- Docker for Windows 10 https://docs.docker.com/docker-for-windows/install/
- Download or clone this repository
- Open terminal or cmd on Windows
- Go to "docker-ml-django" folder
- Execute the command below
docker-compose up --build
- 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
Open browser and browse to
http://localhost:8000/api/hello
Implement your ML code at
sidtechtalent/api/views.py
Then update path at
sidtechtalent/sidtechtalent/urls.py