Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore development mode #724

Merged
merged 5 commits into from
Aug 3, 2022
Merged

Chore development mode #724

merged 5 commits into from
Aug 3, 2022

Conversation

victor-salles
Copy link
Contributor

Create an option within the entrypoint file to run the bothub engine in development mode, using manage.py shell instead of gunicorn.
Also adds a docker-compose.dev.yml that mounts the bothub folder inside the container, allowing for the server to watch the project changes.

- Allows for the server to be initialized in development mode (using manage.py runserver) via the "RUN_AS_DEVELOPMENT_MODE" environment variable, which is false by default.
- When using the docker-compose.dev.yml file, which mounts the ./bothub folder to the corresponding folder inside the container paired with the development mode, all changes take effect on save, reloading the server.
This allows for faster development, discarding the need to rebuild the image on every code change.
@coveralls
Copy link

coveralls commented Jul 19, 2022

Pull Request Test Coverage Report for Build 4658

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 81.273%

Totals Coverage Status
Change from base Build 4656: 0.0%
Covered Lines: 4648
Relevant Lines: 5719

💛 - Coveralls

@sonarcloud
Copy link

sonarcloud bot commented Aug 3, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@victor-salles victor-salles merged commit 1c373b4 into develop Aug 3, 2022
@victor-salles victor-salles deleted the chore-development-mode branch August 3, 2022 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants