Skip to content

svsticky/plakplaats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sticker-map

Plak je kwak, en upload er een foto van.
This webapp lets your members add all the locations they sticked a sticker of your association.

Installation

Clone this repo. Then, copy sample.env to .env:

cd sticker-map/
cp sample.env .env

Now you just need to fill in any empty credentials. These can be found in our Bitwarden.

The program uses a Postgres database. For this database to work you need to install Postgres locally on your machine. Additionally, you need to install the PostGIS extension for Postgres locally. This can be done by opening the 'PgAdmin4' program and navigating to your database and then to the 'stickers' table. Using the query tool on your 'stickers' table, execute the following query: 'CREATE EXTENSION postgis;'. This will install PostGIS locally.

Executing the program

Running this program works by running the flask app. This can be done in two ways. Execute one of the following commands in your terminal:

  1. 'flask --app server.py --debug run' or 'flask --app server.py run' - Find the url in the terminal output and open that in your browser. Instead of the IP address as a url you can also go to 'http://localhost:' and then the port number provided in the terminal output.
  2. 'python server.py' - The url you can use to access the web app is 'http://localhost:' and then the 'port number' in the 'serve' function in the 'server.py' file.

About

Plak je kwak, en upload er een foto van

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •