A web application that allows you to automate your sales emails! Upload a list of leads and select a template, and automatically send off emails from a connected account!
-
Python 3
- The project uses Python 3 as its backend language. Download it here.
-
pip
- The project uses pip as its Python package manager. Installation tutorial is here .
-
npm
- The project uses npm as its JavaScript package manager. Installation tutorial is here.
-
PostgreSQL
- The project uses PostgreSQL as its database. Download it here
-
Cloning this repo:
git clone https://github.com/hatchways/team-winter.git -
Setting up virtual environment and dependencies in server:
- Go to server directory and install pipenv with:
pip install pipenv - Activate the virtual environment and install dependencies:
pipenv install
- Go to server directory and install pipenv with:
-
Installing dependencies in client:
- run
npm installin client directory
- run
Starting the client:
- Go to client directory and run
npm run
Starting the server:
- Go to server directory and run
flask runpipenv run flask runif the virtual environment isn't already activated
Go to config file and set SQLALCHEMY_DATABASE_URI environment variable in the following format:
'postgresql://username:password@localhost/db_name'
Next, create database 'db_name' in your localhost. You can do so in the following commands:
$ psql # or
$ sudo -u postgres psql -p 5432 -h 127.0.0.1
$ postgresql > create database db_name;
Go to server directory
$ python manage.py db migrate # to prepare the migration steps
$ python manage.py db upgrade # to apply the latest migration to your database
Server-side:
-
and other commonly used back-end implementations
Client-side:
-
and other commonly used front-end implementations