Source code for www.rememberthee.com - the marketing website for Remember Thee.
Backend
Frontend
Reference Documentation:
Fork and then clone your fork into your file system and navigate to the project root:
% git clone https://github.com/{your_username}/rememberthee-website.git
% cd rememberthee-website
Set the upstream remote
% git remote add upstream https://github.com/tdowds/rememberthee-website.git
Make sure you have Python 3 installed on your machine.
% which python3
/usr/local/bin/python3
or
% python
Python 3.10.0 (v3.10.0:b494f5935c, Oct 4 2021, 14:59:20) [Clang 12.0.5 (clang-1205.0.22.11)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Create a virtual environment using the python module venv.
If you don't already have a .venv
directory in your file system, I would recommend creating it in your root directory.
% mkdir ~/.venv
Then create your virtual environment in that .venv
folder.
% python3 -m venv ~/.venv/rememberthee
Then activate your virtual environment:
% source ~/.venv/rememberthee/bin/activate
Next you need to download Flask and Flask-Mail. Make sure you have pip installed:
% pip install Flask
% pip install Flask-Mail
When you begin development, make sure you're in your virtual environment:
% source ~/.venv/rememberthee/bin/activate
Turn on debug mode:
% export FLASK_ENV=development
Then execute flask run
and navigate to localhost:5000
in your browser.
https://help.pythonanywhere.com/pages/UploadingAndDownloadingFiles
- Need to automatically perform new packages downloads and package updates