You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that to generate a new Entity using the CLI you must ignore all other tables using the `--ignore-tables` option. You must add the option for _each_ table you are ignoring.
90
90
91
-
92
91
```bash
93
92
DATABASE_URL=postgres://refactor:password@localhost:5432/refactor_platform sea-orm-cli generate entity -s refactor_platform -o entity/src -v --with-serde both --serde-skip-deserializing-primary-key --ignore-tables {table to ignore} --ignore-tables {other table to ignore}
94
93
```
95
94
95
+
## Starting the Backend
96
+
97
+
To run the backend directly outside of a container:
98
+
99
+
```bash
100
+
cargo run -- -l DEBUG -d postgres://refactor:password@localhost:5432/refactor_platform
101
+
```
102
+
103
+
This will start the backend with log level DEBUG and attempt to connect to a Postgres DB server on the same machine with user `refactor` and password `password` on port `5432` and selecting the database named `refactor_platform`.
104
+
96
105
## Project Directory Structure
97
106
98
107
`docs` - project documentation including architectural records, DB schema, API docs, etc
0 commit comments