Connecting Mapbox
The following instructions will help you install the Mapbox API. This API will allow you to;
1.) Obtain Coordinates of campus locations
2.) Display a map of the coordinates
- Navigate to your project's folder
$ cd /var/www/<project_name> - Edit the project's settings.py to include Mapbox
$ nano ./<<project name>>/settings.py
Add the following line to the "INSTALLED_APPS" sectionMAPBOX_API_TOKEN = '<<MAPBOX_API_TOKEN>>'
NearBeach will automatically find the Mapbox token and start displaying the maps. If the maps are not displaying please check that you are using the correct API Token