Skip to content

ideadx/sendmail

Repository files navigation

SendMail

  • Self hosted email marketing tool

Features

  • Help businesses to send email at fraction of a cost
  • Built with modern stack

Setup Doc

  1. Install Python: Python Website
  2. To verify that Python was installed:
    • python --version
  3. Set Up a Virtual Environment:
    • mkdir my_flask_app
    • cd my_flask_app
    • python -m venv venv
  4. Activate the virtual environment:
    • venv\Scripts\activate or
    • .\venv\Scripts\Activate.ps1
  5. Install Flask with require packages:
    • pip install Flask
    • pip install Flask-SQLAlchemy
    • pip install Flask-Login
    • pip install Flask-Migrate
    • pip install psycopg2-binary
    • pip install boto3
  6. Run the app:
    • python boot.py
  7. Deactivate Virtual Environment:
    • deactivate

Assets Build

  • 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)

Database migration:

  • flask db init
  • flask db migrate -m "Changes made"
  • flask db upgrade

Database Management Tools

Troubleshooting

If get UnauthorizedAccess:

  • Close the PowerShell/Terminal Window
  • Press Win + X
  • Open PowerShell
  • Get-ExecutionPolicy
  • Set-ExecutionPolicy RemoteSigned
  • Close the PowerShell Window

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors