https://github.com/austinoboyle/bungalow-api
https://github.com/austinoboyle/bungalow-api
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/austinoboyle/bungalow-api
- Owner: austinoboyle
- Created: 2019-01-12T02:05:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-12T02:35:03.000Z (almost 7 years ago)
- Last Synced: 2025-01-30T21:32:45.253Z (9 months ago)
- Language: Python
- Size: 166 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bungalow Challenge API
## Development Setup (The usual Django stuff)
### Prerequisites
1. MySQL Server installed and running locally with default config.
- Can also change the database config in `bungalow/settings.py` to point to a different MySQL URI (cloud host, etc)### Setup Instructions
1. Create a virtualenv
2. pip install -r requirements.txt
3. Create a new database 'bungalow' in the connected MySQL Instance (or a
different name, but change the DATABASE settings)
4. python manage.py migrate
5. python manage.py ingestcsv challenge_data.csv # Populate your database with
the seed data
6. python manage.py runserverNavigate to `http://localhost:8000/api/rentals` to use the API.