-
Set up your local environment:
- Create a
.env
file in the root directory of your project. - Add your Google Maps API key to the
.env
file:GOOGLE_MAPS_API_KEY=<your-google-maps-api-key>
- Create a
-
Enable Required APIs in Google Cloud Console:
- Go to the Google Cloud Console.
- Enable the Geolocation API and Geocoding API for your project.
-
Enable Billing:
- Ensure billing is enabled in your Google Cloud project. Certain Google Maps services, like the Geocoding API, require billing to be activated to avoid errors like
REQUEST_DENIED
.
- Ensure billing is enabled in your Google Cloud project. Certain Google Maps services, like the Geocoding API, require billing to be activated to avoid errors like
-
Run the following commands:
python manage.py migrate python manage.py makemigrations app
Then:
python manage.py runserver
Link to website: [http://stepfreemta-env.eba-je3qmwfd.us-west-2.elasticbeanstalk.com/]