Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 981 Bytes

installation-of-optional-steps.rst

File metadata and controls

44 lines (26 loc) · 981 Bytes

Optional Steps

Connect 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
  3. Navigate to your project's folder
$ cd /var/www/<project_name>
  1. Edit the project's settings.py to include Mapbox
$ nano ./<<project name>>/settings.py
  1. Add the following line to the "INSTALLED_APPS" section
MAPBOX_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

Installation of Logs in NearBeach

Connect Google Maps