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.
40 lines
678 B
40 lines
678 B
include .env
|
|
export API_URL # So the client can use it
|
|
export RUST_LOG
|
|
|
|
# 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:
|
|
cd server && \
|
|
cargo run
|
|
|
|
tailwind:
|
|
cd client && \
|
|
tailwindcss -i static/style.css -o static/tailwind.css -w
|
|
|
|
serve:
|
|
cd client && \
|
|
perseus serve -w
|
|
|
|
check-client:
|
|
cd client && \
|
|
perseus check -w
|
|
|
|
check-server:
|
|
cargo check
|
|
|
|
deploy-client:
|
|
cd client && \
|
|
perseus deploy
|
|
|
|
test-client:
|
|
cd client && \
|
|
perseus test --show-browser
|
|
|
|
test-server:
|
|
cd server && \
|
|
cargo test
|