Casual
Installation
-
Create a virtual environment and activate it.
❯ python3 -m venv venv ❯ . ./venv/bin/activate -
Create the initial env files to run Casual.
❯ flask core init -d -
Check and modify the three new files
dev_casual.conf,.env, and.flaskenv.The most important one is
dev_casual.confwhere you should check the following keys:
SECRET_KEYALCHEMICAL_DATABASE_URLCASUAL_ADMINSbefore you go to the next step!.MAIL_*you will need this to safely create the user accounts and communicate with the users.CASUAL_*in general.
-
Create the DB Migrations infrastructure, the first migration, and apply it.
❯ flask db init ❯ flask db migrate ❯ flask db upgrade -
Create the Admin Accounts according to the
CASUAL_ADMINkey in the conf file (see step 3).❯ flask auth create-admins -
Now you can run the development server and conform that you can log in + change the password from the default value of
Casualto a more secure one.Each admin account will be forced to change the password on the first successful login.
Metadata
Release files for casual 2024.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| casual-2024.1.3.tar.gz | 76.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| casual-2024.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 184.7 kB
Release files / casual-2024.1.3.tar.gz
| Download URL | casual-2024.1.3.tar.gz |
|---|---|
| Size | 76.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f4f159fab7632ba693c1d0ef2e5f4085de5a445311420d3391f1bdac7ba0e5e
|
|
BLAKE2b-256 checksum How to use checksums |
1ac3697f577809f60d82337d4a745a5ded5ba8c68e6493f9eca754ea996180d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.0 Darwin/23.3.0
|
Release files / casual-2024.1.3-py3-none-any.whl
| Download URL | casual-2024.1.3-py3-none-any.whl |
|---|---|
| Size | 108.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a065b7e71839a1df3dfcc89433324664c78ea9cd1f55afd17e29b9f6a22c10c
|
|
BLAKE2b-256 checksum How to use checksums |
229b542ea294539f269644f01bba77eee74e3e69f07d85461aa9a62bfa60615a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.0 Darwin/23.3.0
|