You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fast-insiders/makefile

23 lines
480 B

include .env
export API_URL # So the client can use it
# Migrations should be written first and the model files can be created using this command
db_entities:
cd server && \
sea-orm-cli generate entity --database-url $(DATABASE_URL) -o src/model --with-serde both
server-dev:
cargo run --bin server
tailwind:
cd client && \
tailwindcss -i static/style.css -o static/tailwind.css -w
serve:
cd client && \
perseus serve -w
client-deploy:
cd client && \
perseus deploy