madeleinel / WoMentor

A mentoring platform created by @Eleanombre and @Madeleinel. Created using Python, Flask and PostgreSQL.
https://womentotech.herokuapp.com/
MIT License
2 stars 0 forks source link

WoMentor / WomenToTech

CONCEPT: a platform which helps you (a woman in tech) find a mentor!

File structure

To run the app

To create a virtual environment

To start the database and create the tables from scratch

(ensure you have a valid address for a db) navigate to your project folder and open the python interpreter

yourMachine:projectFolder yourUser$ python
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 12:39:47)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from cordb import db
>>> from app import create_app
>>> app = create_app()
>>> app.app_context().push()
>>> db.create_all()

if you open the db you should now see that the empty tables have been created as specified in the flask_data_models.py file