Casual Framework
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file casual-2024.1.3.tar.gz.
File metadata
- Download URL: casual-2024.1.3.tar.gz
- Upload date:
- Size: 76.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Darwin/23.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f4f159fab7632ba693c1d0ef2e5f4085de5a445311420d3391f1bdac7ba0e5e
|
|
| MD5 |
14881b1454dacb3b3b185ee5c8a08e31
|
|
| BLAKE2b-256 |
1ac3697f577809f60d82337d4a745a5ded5ba8c68e6493f9eca754ea996180d6
|
File details
Details for the file casual-2024.1.3-py3-none-any.whl.
File metadata
- Download URL: casual-2024.1.3-py3-none-any.whl
- Upload date:
- Size: 108.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.0 Darwin/23.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a065b7e71839a1df3dfcc89433324664c78ea9cd1f55afd17e29b9f6a22c10c
|
|
| MD5 |
c2d2e8ebd77a515c819beef4904d1637
|
|
| BLAKE2b-256 |
229b542ea294539f269644f01bba77eee74e3e69f07d85461aa9a62bfa60615a
|