Skip to content

This is a web applications that allowed users to create, share and manage events on a online map.

Notifications You must be signed in to change notification settings

Strand94/WhatsMappening

Repository files navigation

WhatsMappening

This project is made in conjuction with the course TBA4250 - Geographic Information Handling 2, Basic Course. taught at the Norwegian University of Science and Technology.

This is a web applications that allowed users to create, share and manage events on a online map.

Getting Started

These instructions will get you a copy of the project up and running on your local machine

Prerequisites

What things you need to install the software and how to install them

  • Python - version 3.4 or higher
  • PostgreSQL - PostgreSQL for database in order to use PostGIS

Linux/Max:

  • GDAL - Geospatial Data Abstraction Library

Windows:

  • OSGeo4W - includes many geospatial libraries such as GDAL

Installing

A step by step series of examples that tell you have to get a development enviroment running

First step is to clone the project and navigate to the project folder

virtualenv venv          # create virtualenv venv
source venv/bin/activate # activate 

make a virtual enviroment and activate it. For linux/mac:

git clone https://github.com/Strand94/WhatsMappening.git
cd whatsmappening

For windows make virtualenv manually (can be done in pycharm settings at project interprenter)

cd Venv/Scripts         # Go to the virtualenv folder
activate # activate 
cd ../.. # navigate back to project folder

To ensure this worked, there should now be a (venv) marker to the left of you navigation path in the terminal.

After that you need to install the development dependencies,

pip install -r requirements.txt

After you have installed all the requirements, its time to generate the database

Python manage.py migrate

Run the web application locally,

Python manage.py runserver

Deployment

In order to deply the latest version of our application to the live server, one simply updates the deployment branch of the git repository. This sends a notification to the heroku server hosting our application that it should build and deply the newest version.

Built With

Authors

  • Andreas G. Strand - Developer - Strand94
  • Bartosz J. Zarosa - Developer - Bartors
  • Inès Blomvågnes - Developer - Blomsi
  • Kari M. Johannessen - Developer - ThaiKari
  • Nicolaj Nielsen - Developer - Nicolajn

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Hat tip to anyone who's code was used.
  • Norkart for hosting the database.
  • A big thanks to Adrian Tofting, the course student assistant for helping us in times of need.