-
Check out the code
git clone [email protected]:iandees/carpools.git
-
Go in to the checked out repository
cd carpools
-
Set up a virtual environment
virtualenv venv source venv/bin/activate
-
Install the database. The app requires PostgreSQL and PostGIS. This guide describes how to get PostgreSQL running on your computer.
When you have PostgreSQL installed, you need to create a database for the data to go. Use the
psql
command to connect to your PostgreSQL instance:$ psql psql (9.6.1, server 9.5.4) Type "help" for help. iandees=#
Create the database and add the PostGIS extension:
iandees=# create database carpools; CREATE DATABASE iandees=# \connect carpools psql (9.6.1, server 9.5.4) You are now connected to database "carpools" as user "iandees". carpools=# create extension postgis; CREATE EXTENSION carpools=# \quit
-
Install the Python dependencies.
pip install -r requirements.txt
-
Set up the Flask framework configuration
export FLASK_APP=wsgi.py export FLASK_DEBUG=1
-
Set up the database
flask db upgrade
-
Run the Flask application
flask run
-
Browse to http://127.0.0.1:5000/ in your browser to check it out.
forked from RagtagOpen/nomad
-
Notifications
You must be signed in to change notification settings - Fork 0
engerm/carpools
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 69.2%
- HTML 29.9%
- Mako 0.9%