-
Notifications
You must be signed in to change notification settings - Fork 416
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
Add guide for healthchecks #1738
base: main
Are you sure you want to change the base?
Changes from 1 commit
57c3238
4f66b91
7102fa7
7454bfe
4a82171
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,7 +148,7 @@ later. | |
|
||
[isabell@stardust ~]$ python3.11 -m venv venv | ||
[isabell@stardust ~]$ source venv/bin/activate | ||
[isabell@stardust ~]$ pip3.11 install -r requirements.txt | ||
(venv) [isabell@stardust ~]$ pip3.11 install -r requirements.txt | ||
Collecting aiosmtpd==1.4.4.post2 (from -r requirements.txt (line 1)) | ||
Obtaining dependency information for aiosmtpd==1.4.4.post2 from https://files.pythonhosted.org/packages/ef/b3/f4cce9da53b02aa7d4c0662ca344421023feefc5c8f815b90d1c7514702e/aiosmtpd-1.4.4.post2-py3-none-any.whl.metadata | ||
Downloading aiosmtpd-1.4.4.post2-py3-none-any.whl.metadata (6.8 kB) | ||
|
@@ -334,7 +334,7 @@ Once we set the correct settings we can initialize the database: | |
|
||
:: | ||
|
||
[isabell@stardust ~]$ python3.11 ./manage.py migrate | ||
(venv) [isabell@stardust ~]$ python3.11 ./manage.py migrate | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here (and also in some of the following listings) I assume that the user is still in the active virtualenv. Do you want me to repeat the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good question. If this was my guide I would provide a note before the first use of the
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I prefixed all the commands that require a virtual env with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This does not work for me:
|
||
System check identified some issues: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Again long log output that could be abbreviated. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah it makes sense to abbreviate, there is no upside in keeping all of it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Abbreviated. |
||
|
||
WARNINGS: | ||
|
@@ -537,12 +537,12 @@ the email, if you do not plan to use it inside Django. You should pick a decent | |
.. code-block:: console | ||
:emphasize-lines: 2,3,4 | ||
|
||
[isabell@stardust ~]$ python3.11 ./manage.py createsuperuser | ||
(venv) [isabell@stardust ~]$ python3.11 ./manage.py createsuperuser | ||
Email address:isabell@uber.space | ||
Password: | ||
Password (again): | ||
Superuser created successfully. | ||
[isabell@stardust ~]$ | ||
(venv) [isabell@stardust ~]$ | ||
|
||
Generate static files | ||
----------------- | ||
|
@@ -551,12 +551,12 @@ Healthchecks uses a couple of static files. We need to generate this as follows: | |
|
||
:: | ||
|
||
[isabell@stardust ~]$ python3.11 ./manage.py collectstatic | ||
(venv) [isabell@stardust ~]$ python3.11 ./manage.py collectstatic | ||
347 static files copied to '/home/isabell/apps/healthchecks/static-collected'. | ||
[isabell@stardust ~]$ python3.11 ./manage.py compress | ||
(venv) [isabell@stardust ~]$ python3.11 ./manage.py compress | ||
Compressing... done | ||
Compressed 26 block(s) from 147 template(s) for 1 context(s). | ||
[isabell@stardust ~]$ | ||
(venv) [isabell@stardust ~]$ | ||
|
||
Set up the daemons | ||
----------------- | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want me to keep all the log output from that command? Or should I somehow abbreviate it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's pretty long, please abbreviate it like in the Kimai Guide.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Abbreviate it now. Could you resolve the conversation if you like it?