/kirakira

A lobste.rs like forum made in Gleam

Primary LanguageGleamApache License 2.0Apache-2.0

Kirakira

How to setup a development environment

Using Docker

Install docker and docker compose

and then run

$ sh setup-dev.env.sh

Note running setup-dev-env.sh clears your database so it is recommended to run:

$ docker-compose up mysql server -d

for all future runs if you want to persist your development data

Uncontainzerized (without docker)

Install gleam and mysql or use hosted mysql

sh ./run-csr.sh
# or
sh ./run-ssr.sh

Note this does require you to have a mysql server running on localhost, or change the env vars to a hosted instance

Notes

  • lustre_dev_tools is a temporary vendor, to be removed on next release of the package to hex