- Self hosted email marketing tool
- Help businesses to send email at fraction of a cost
- Built with modern stack
- Install Python: Python Website
- To verify that Python was installed:
python --version
- Set Up a Virtual Environment:
mkdir my_flask_appcd my_flask_apppython -m venv venv
- Activate the virtual environment:
venv\Scripts\activateor.\venv\Scripts\Activate.ps1
- Install Flask with require packages:
pip install Flaskpip install Flask-SQLAlchemypip install Flask-Loginpip install Flask-Migratepip install psycopg2-binarypip install boto3
- Run the app:
python boot.py
- Deactivate Virtual Environment:
deactivate
- Change should only be made to static/src/main.css and main.js
- DEV:
npx vite - PROD:
npx vite build(generates content of static/dist folder)
flask db initflask db migrate -m "Changes made"flask db upgrade
- Download Postgres PgAdmin (https://www.postgresql.org/download)
- Download DBeaver (https://dbeaver.io)
- Add new connection with postgres
- If required, update app/init.py as per connection configuration
If get UnauthorizedAccess:
- Close the PowerShell/Terminal Window
- Press
Win + X - Open PowerShell
Get-ExecutionPolicySet-ExecutionPolicy RemoteSigned- Close the PowerShell Window