Welcome to the Boring Academy Key Store Manager! This application allows you to manage activation keys for courses offered by The Boring Academy. Below you will find a comprehensive guide on how to set up, run, and use this application effectively.
- Manage Activation Keys: Generate unique activation keys for courses offered by The Boring Academy.
- Manage Subjects and Courses: Add and regroup subjects and courses offered by The Boring Academy.
- Generate Analytics Report: Generate a report to determine revenue and key factors to enhance commercialization.
- Clone the repository:
git clone https://github.com/softsurgery/the-boring-academy-key-store-manager.git
cd the-boring-academy-key-store-manager
- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate
3.Install the required packages:
pip install -r requirements.txt
- Set up Firebase:
- Create a Firebase project.
- Generate a service account key and download the JSON file.
- Save the JSON file in your project directory and update the firebase_admin initialization code with the path to your JSON file.
- Initialize Firebase in your code:
import firebase_admin
from firebase_admin import credentials
cred = credentials.Certificate("path/to/your/firebase/credentials.json")
firebase_admin.initialize_app(cred, {
'databaseURL': 'https://your-database-name.firebaseio.com'
})
Contributions are welcome! Please open an issue or submit a pull request with any improvements.
This project is licensed under the MIT License. See the LICENSE file for more details.