Skip to content

jw/zink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElevenBits

This is the elevenbits website project.

Development

Both Python and Node are used. Python runs the Django, the Javascript is used to create the css files (the css is based on tailwindcss and daisyui). The system runs on a render.com Dockerfile environment.

Database

Make sure to start the database on your local machine:

❯ docker run --name zink -e POSTGRES_PASSWORD=zink -e POSTGRES_USER=zink -d -p 7777:5432 postgres

Several environment variables need to be added to the .env file. This .env file needs to remain private to you. It should not be part of the repo! See the .env-example for more information.

CSS

Best to automatically generate the tailwind/daisy css via yarn:

❯ yarn tailwindcss -i core/static/tailwind/input.css -o core/static/tailwind/output.css --watch

Yarn 3.4.1 is used. First make sure you're using the latest Node LTS (use nvm to do so). Best to install yarn via:

❯ corepack enable
❯ corepack prepare [email protected] --activate