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

Amélioration doc install prod #182

Closed
Gaetanbrl opened this issue Mar 8, 2023 · 3 comments
Closed

Amélioration doc install prod #182

Gaetanbrl opened this issue Mar 8, 2023 · 3 comments
Milestone

Comments

@Gaetanbrl
Copy link
Member

Des éléments sont à préciser pour compléter la doc actuelle :

  • Gestion des logs gunicorn
  • Indication des users, groupe, droits pour exécuter les services, le python, pouvoir écrire dans /apps/store
@Gaetanbrl
Copy link
Member Author

Gaetanbrl commented Mar 8, 2023

Pour la gestion des logs nous utilisons cette ligne dans le service :

ExecStart=/home/user/mviewerstudio/srv/python/.venv/bin/gunicorn -b 127.0.0.1:5007 mviewerstudio_backend.app:app --workers=2 --access-logfile /home/user/gunicorn-access.log --error-logfile /home/user/gunicorn-error.log

Elle permet d'écrire les logs dans /home/user/gunicorn-error.log (pour cet exemple).

@lecault
Copy link
Collaborator

lecault commented Jul 4, 2023

Est ce que la doc https://mviewerstudio.readthedocs.io/fr/latest/doc_tech/install_python.html répond à cette issue ?

@Gaetanbrl
Copy link
Member Author

Je pense que oui à présent :)

@lecault lecault added this to the 4 milestone Aug 30, 2023
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

2 participants