Skip to content

justins-engineering/loft

Repository files navigation

Loft

A place for our pigeons to rest. The main dashboard for PigIoT. A web app created in Dioxus, designed to be used with Cloudflare workers.

Development

Requirements

Starting Kratos

Run the following command in the root of your project:

docker-compose -f docker-compose.yml up --force-recreate

Tailwind CSS

  1. Run the following command in the root of the project:
bun install
  1. Run the following command in the root of the project to start the Tailwind CSS compiler:
bunx @tailwindcss/cli -i ./assets/tailwind.css -o ./assets/styling/main.css --watch

Serving The App

Run the following command in the root of your project to start developing with the default platform:

dx serve --addr 127.0.0.1 --port 4455

Bundling

  1. Run the following command in the root of the project to compile and minify the Tailwind CSS:
bunx @tailwindcss/cli -i ./assets/tailwind.css -o ./assets/styling/main.css --minify
  1. Run the following command in the root of your project to bundle the assets:
dx build --web --ssg --release --debug-symbols=false

Serving The App

Run the following command in the root of your project to bundle the assets:

bunx wrangler dev --ip 127.0.0.1 --port 4455

About

A place for our pigeons to rest. The main dashboard for PigIoT. A web app created in Dioxus, designed to be used with Cloudflare workers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors