Prepare Node Environment
e.g. https://nodejs.org/ https://volta.sh/
Linux(Ubuntu) installation using volta
curl https://get.volta.sh | bash
volta install node
volta install corepack
corepack enable
pnpm i
- If asked to download pnpm, do so.
To prepare the database, run the migrations
pnpm migrate
There is no data in the Users table, so add it
(Data can be freely entered)
pnpx wrangler d1 execute madamis-db --local --command "INSERT INTO Users (name, color) VALUES ('User1', '#1b7a16'), ('User2', '#bd8317');"
To run the App, run this command
pnpm dev
Then, you can access the App in your browser