Skip to main content

Casual

Installation

  1. Create a virtual environment and activate it.

    ❯ python3 -m venv venv
    ❯ . ./venv/bin/activate
    
  2. Create the initial env files to run Casual.

    ❯ flask core init -d
    
  3. Check and modify the three new files dev_casual.conf, .env, and .flaskenv.

    The most important one is dev_casual.conf where you should check the following keys:

  • SECRET_KEY
  • ALCHEMICAL_DATABASE_URL
  • CASUAL_ADMINS before 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.
  1. Create the DB Migrations infrastructure, the first migration, and apply it.

    ❯ flask db init
    ❯ flask db migrate
    ❯ flask db upgrade
    
  2. Create the Admin Accounts according to the CASUAL_ADMIN key in the conf file (see step 3).

    ❯ flask auth create-admins
    
  3. Now you can run the development server and conform that you can log in + change the password from the default value of Casual to 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)

Source distribution for casual 2024.1.3
File Size Uploaded
casual-2024.1.3.tar.gz 76.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for casual 2024.1.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2024.1.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page