This is a Mastermind game for LinkedIn's REACH program. The main focus for this app is backend-development. This is a full-stack app with uses Python and Flask for both the front-end and back-end.
Clone the project
git clone https://github.com/TheHamhams/mastermind.gitGo to the project directory
cd mastermindTo install virtualenv
pip install virtualenv
Create and activate virtual environment (virtualenv Windows)
virtualenv venv
source venv/Scripts/activateCreate and activate virtual environment (virtualenv Linux)
virtualenv venv
source venv/bin/activateInstall requirements
pip install -r requirements.txtNext create a .env file in current directory. It should contain the following information.
FLASK_APP=mastermind
SQLALCHEMY_DATABASE_URI=sqlite:///site.db
SECRET_KEY='secret key goes here'Create database
flask db init
flask db migrate
flask db upgradeFinally, the app can be ran from the terminal.
flask run




