Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tendant/htmx-demo


https://github.com/tendant/htmx-demo

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Start postgres using docker

cd docker/
./start-postgres.sh

# Create database

CREATE Role htmx_demo WITH PASSWORD 'pwd';
grant htmx_demo to postgres;
CREATE DATABASE htmx_demo_db ENCODING ‘UTF8’ OWNER htmx_demo;
GRANT ALL PRIVILEGES ON DATABASE htmx_demo_db TO htmx_demo;
ALTER ROLE htmx_demo WITH LOGIN;

# Migrate database

make migrate

# Create new migration

make migration-create name="training"