Conversation
- Updated `docker-compose-dev.yml` to include a sleep command before database migrations and added makemigrations step. - Modified `docker-compose-prod.yml` to use environment variables for Traefik configuration and updated container names for versioning. - Added a new `setup.sh` script for easier environment setup and management. - Updated `README.md` to include prerequisites and setup instructions. - Introduced new JSON example files for RADIUSdesk and smart contracts. - Added management commands for creating users and smart contracts from JSON files. - Implemented TimescaleDB checks and continuous aggregate refresh commands. - Enhanced serializers and views for better data handling and pagination in the API.
- Increased `max-line-length` in `.flake8` from 90 to 120. - Refactored `create_radiusdesk_from_json.py` to use a `defaults` dictionary for profile creation. - Improved formatting in `create_smart_contracts_from_json.py`, `create_users_from_json.py`, and other management commands for better readability. - Added missing newlines and adjusted spacing in various files for consistency.
- Updated container names and volume names in `docker-compose-dev.yml` to include `-dev` suffix for clarity. - Removed obsolete migration files from various apps, including `api_key`, `core`, `network`, and `radiusdesk`, to clean up the codebase. - Ensured consistency in migration management by deleting unnecessary migration files that are no longer in use.
- Introduced `generate_keys.py` to generate Django secret key and encryption key for Inethi backend setup. - The script provides usage instructions and security notes for handling the generated keys. - Includes error handling and troubleshooting guidance for missing dependencies.
…ails - Added Traefik configuration variables to .env.example for backend setup. - Enhanced users.json by including first and last names for network administrators to improve user data completeness.
- Added SUPERUSER_USERNAME and SUPERUSER_PASSWORD placeholders to .env.example for superuser setup. - Simplified user and smart contract creation commands in setup.sh by removing unnecessary path prefixes for JSON files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merging automation and general system improvements: