Skip to content

A play app in django getting the latest surf conditions for Manly

License

Notifications You must be signed in to change notification settings

camswords/python-django-surf-conditions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manly Surf Conditions

A simple Django application demonstrating database integration, using external rest apis, templating, static assets and forms. Shows the latest surf conditions in Manly, NSW.

Manly Surf App

Getting Started

  1. Check out this code
  2. Install Python (tested using Python 3.7.3)
  3. Create a virtual environment using virtualenv
  4. Install Django pip install Django==2.2
  5. Install requests pip install requests=2.21
  6. In the code directory in a terminal, run your database migrations python manage.py migrate
  7. Run your local server MAGIC_SEAWEED_API_KEY=[API_KEY] python manage.py runserver
  8. In a browser, navigate to http://localhost:8000. This has been tested using Chrome.

Prerequisites

You will need an API key for MagicSeaweed. This can be requested at MagicSeaweed, or you may have been provided with one if you have been sent here as a code example.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

A play app in django getting the latest surf conditions for Manly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published