CMS setup

Database

  1. Import anarkist.sql to a local MySQL DB named anarkist
  2. Create a user named anarkist with all privilidges in the DB
  3. Update DB_CONFIG in hidden.py if needed

Virtual Python env

  1. Make sure Python3.9 is installed
  2. Create venv: python3.9 -m venv venv
  3. Activate venv: source venv/bin/activate
  4. Install dependencies: pip3.9 install -r requirements.txt
  5. Run app: python3.9 app.py

Tailwind

  1. cd static/css/tailwind
  2. npm install
  3. npx tailwindcss -i tailwind.css -o ../app.css --watch