Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
skinkade committed Jul 13, 2024
1 parent c7187e7 commit 3fae238
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
# wisp_multitenant_demo
# Gleam + Wisp + Lustre Multi-tenant Application Demo

[![Package Version](https://img.shields.io/hexpm/v/wisp_multitenant_demo)](https://hex.pm/packages/wisp_multitenant_demo)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/wisp_multitenant_demo/)
```shell
# Database
docker-compose up -d
echo 'DATABASE_URL="postgres://postgres:postgres@127.0.0.1:5432/wisp_multitenant_demo?sslmode=disable"' > .env
dbmate migrate

```sh
gleam add wisp_multitenant_demo@1
```
```gleam
import wisp_multitenant_demo
# CSS
npm i
npx tailwindcss -i ./priv/tailwind.css -o ./priv/static/css/main.css

pub fn main() {
// TODO: An example of the project in use
}
```

Further documentation can be found at <https://hexdocs.pm/wisp_multitenant_demo>.

## Development

```sh
gleam run # Run the project
gleam test # Run the tests
```
# Gleam application
gleam run
```

0 comments on commit 3fae238

Please sign in to comment.