# bbquda_web
Website for visualizing mission logs obtained from the EcoMapper and Heron drones.

Pre-requisites:
- OSGeo4W desktop version installed on local machine, go to https://trac.osgeo.org/osgeo4w/ for the installation
- Anaconda Prompt
- Git

#### 1. git clone https://github.com/cange017/bbquda_web.git

#### 2. With anaconda prompt, install gdal (conda install -c conda-forge gdal)

#### 3. pip install -r requirements.txt

#### 4. python manage.py migrate

#### NOTE FOR WINDOWS USERS: If you encounter the error Directory does not exist: C:\OSGeo4W64, you're going to have to manually create the folder C:\OSGeo4W64, install the 64bit OSGeo4W network installer from https://trac.osgeo.org/osgeo4w/ and be sure to select the Desktop install option from the wizard. After this you should be good to go! For some reason gdal did not make the folder for you from step 2.

#### 5. python manage.py createsuperuser

#### 6. python manage.py runserver

#### 7. Log in at http://127.0.0.1:8000/

#### 8. Switch to your team's branch:

##### (a) git branch -r (to see all remote branches)

##### (b) git checkout branch-name (for example, if you want to pull UI, do "git checkout UI" and do not include remotes/origin part)

##### (c) git checkout -b new-branch-name (if you want to make a new local branch to work on your own changes)
