-
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, Maps JavaScript API, Directions API, Geocoding API and Places 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 makemigrations app maps messaging notifications reporting python manage.py migrate
Then:
python manage.py runserver
Link to short URL: [https://stepfreemta.com]
Link to website: [http://stepfreemta-env.eba-je3qmwfd.us-west-2.elasticbeanstalk.com/]
Link to HTTPS site: [https://stepfreemta-env.eba-je3qmwfd.us-west-2.elasticbeanstalk.com/maps/]