This application handles sensitive information including API keys and user credentials. Please follow these security best practices:
- Never commit sensitive information to version control
- Use the
.envfile for local development and ensure it's in your.gitignore - Generate strong, unique secrets for production
- Rotate credentials immediately if they are compromised
- Use environment variables or a secure secret manager in production
- Python 3.8+
- pip
- Git
-
Clone the repository:
git clone https://github.com/your-username/AmplifyImpactAI.git cd AmplifyImpactAI -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: .\venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
# Copy the example file cp .env.example .env # Generate secure values and update .env python scripts/setup_env.py
Then edit the
.envfile to add your actual API keys and configuration. -
Initialize the database:
flask db upgrade
-
Run the application:
py run.py
Required environment variables are listed in .env.example. The application will not start without these variables set.
- Never commit sensitive data to version control
- Use strong, randomly generated secrets
- Use HTTPS in production
- Keep dependencies up to date
- Regularly rotate credentials
- Use a proper secret manager in production (AWS Secrets Manager, HashiCorp Vault, etc.)
If you discover a security vulnerability, please report it to your security team immediately. Do not create a public GitHub issue.