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
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
(Note: You will need to activate the shell every time you open a new terminal session. Alternatively, you can use the `poetry run` prefix before other commands to run them without activating the shell.)
56
+
(Note: You will need to activate the shell every time you open a new
57
+
terminal session. Alternatively, you can use the `poetry run` prefix
58
+
before other commands to run them without activating the shell.)
55
59
56
-
## Set environment variables
60
+
###Set environment variables
57
61
58
62
Copy .env.example to .env with `cp .env.example .env`.
59
63
60
-
Generate a 256 bit secret key with `openssl rand -base64 32` and paste it into the .env file.
64
+
Generate a 256 bit secret key with `openssl rand -base64 32` and paste
65
+
it into the .env file.
61
66
62
67
Set your desired database name, username, and password in the .env file.
63
68
64
-
To use password recovery, register a [Resend](https://resend.com/) account, verify a domain, get an API key, and paste the API key into the .env file.
69
+
To use password recovery, register a [Resend](https://resend.com/)
70
+
account, verify a domain, get an API key, and paste the API key into the
71
+
.env file.
65
72
66
-
## Start development database
73
+
###Start development database
67
74
68
75
`docker compose up -d`
69
76
70
-
## Create database tables and default permissions/roles
77
+
###Create database tables and default permissions/roles
71
78
72
79
`python migrations/set_up_db.py --drop`
73
80
74
-
## Run the development server
81
+
###Run the development server
75
82
76
-
Make sure the development database is running and tables and default permissions/roles are created first.
83
+
Make sure the development database is running and tables and default
(Note: You will need to activate the shell every time you open a new terminal session. Alternatively, you can use the `poetry run` prefix before other commands to run them without activating the shell.)
60
+
61
+
### Set environment variables
62
+
63
+
Copy .env.example to .env with `cp .env.example .env`.
64
+
65
+
Generate a 256 bit secret key with `openssl rand -base64 32` and paste it into the .env file.
66
+
67
+
Set your desired database name, username, and password in the .env file.
68
+
69
+
To use password recovery, register a [Resend](https://resend.com/) account, verify a domain, get an API key, and paste the API key into the .env file.
70
+
71
+
### Start development database
72
+
73
+
`docker compose up -d`
74
+
75
+
### Create database tables and default permissions/roles
76
+
77
+
`python migrations/set_up_db.py --drop`
78
+
79
+
### Run the development server
80
+
81
+
Make sure the development database is running and tables and default permissions/roles are created first.
0 commit comments