cd
into the backend directory and runentc init <model>
- run
go run main.go -generate=true
- Modify the model in backend/ent/schemas and cd into backend and run
go run main.go -generate=true
in the backend directory.
- Modify the service spec in
service/service.proto
. - Re generate the server and client code by going into the service directory and running
./gen.sh
- Run
./init_dev_db.sh
- Run
./start_dev.sh