The Couples Game Web Application is a fun and interactive platform where couples can play a game together and track their game sessions. This README provides an overview of the application, how to set it up locally, and deploy it to Heroku.
currently live @ www.442479.com
- Users can create accounts, log in, and log out.
- Couples can join the platform and play a game together.
- Each user can participate in a game session and track their click count.
- Game session history with outcomes (win/loss) is displayed.
- Couples can send and accept relationship requests.
- Interactive countdown timer for game sessions.
- Python (>=3.6)
- Git
- Heroku CLI (for deployment)
- Clone the repository:
bashCopy codegit clone https://github.com/your-username/couples-game-app.git cd couples-game-app
- Create a virtual environment and activate it:
bashCopy codepython -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install the required packages:
bashCopy codepip install -r requirements.txt
- Set up the database:
bashCopy codeflask db init flask db migrate -m "Initial migration" flask db upgrade
Create a .env
file in the project directory and configure the following environment variables:
dotenvCopy codeSECRET_KEY=your-secret-key DATABASE_URL=sqlite:///app.db
- Run the application locally:
bashCopy codeflask run
- Access the application in your web browser at
http://localhost:5000
.
Follow these steps to deploy the Couples Game Web Application to Heroku:
- Log in to your Heroku account:
bashCopy codeheroku login
- Create a new Heroku app:
bashCopy codeheroku create your-app-name
- Configure environment variables on Heroku:
bashCopy codeheroku config:set SECRET_KEY=your-secret-key heroku config:set DATABASE_URL=your-database-url
- Push your code to Heroku:
bashCopy codegit push heroku master
- Open the deployed app in your browser:
bashCopy codeheroku open
Contributions are welcome! If you have suggestions, bug reports, or feature requests, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.