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

Deployment procedure #11

Open
Crispae opened this issue Nov 30, 2023 · 4 comments
Open

Deployment procedure #11

Crispae opened this issue Nov 30, 2023 · 4 comments

Comments

@Crispae
Copy link
Collaborator

Crispae commented Nov 30, 2023

This issue will mention, the deployment steps that need to be taken for production release.

@Crispae
Copy link
Collaborator Author

Crispae commented Nov 30, 2023

Use of nginx server for deployment with docker environment

  1. Create an nginx container
  2. Configure it as entry point for public access
  3. Create production build from using npm and point it to Nginx server

@Crispae
Copy link
Collaborator Author

Crispae commented Dec 19, 2023

Initially flask app was running in development env and same was deployed in production. As per recommendation, we should implement gunicorn which support wsgi interface. When app was running with default flask server, it shutdown automatically. Need to check similar behaviour for gunicorn

@Crispae
Copy link
Collaborator Author

Crispae commented May 31, 2024

With gunicorn, application run as daemon works fine. No issue of automatic shutdown

@Crispae
Copy link
Collaborator Author

Crispae commented May 31, 2024

Within docker container, Neo4j intialization is bit slow, it breaks the backend code as it tries to connect with neo4j intialization. Add a sleep duration in backend to delay the process

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

No branches or pull requests

1 participant