A web application for sharing images and messages with your friends.
You can also like, bookmark and comments on posts.
To get started, clone the repo:
- Clone the project repo:
git clone https://github.com/twyle/butterfly.git
- Navigate to the project directory, then create the project secrets:
cd butterfly
touch ./services/app/.env
And then paste the following:
FLASK_DEBUG=True
FLASK_ENV=development
FLASK_APP=manage.py
SECRET_KEY=secret-key
POSTGRES_HOST=localhost
POSTGRES_USER=lyle
POSTGRES_PASSWORD=lyle
POSTGRES_DB=lyle
POSTGRES_PORT=5432
- Start the database server:
docker-compose -f services/database/docker-compose up
- Create and seed the database:
python services/app/manage.py create_db
python services/app/manage.py seed_db
- Start the application:
python services/app/manage.py run
- Navigate to
http://127.0.0.1:5000/
to see the application.
- Lyle Okoth <twyle>