This commit is contained in:
parent
8d96062fc8
commit
fb62555901
1 changed files with 16 additions and 2 deletions
|
@ -43,6 +43,20 @@ jobs:
|
|||
|
||||
- run: sleep 1
|
||||
- run: curl -L 127.0.0.1:13120/setup/0
|
||||
- run: curl -L http://127.0.0.1:13120/api/setup/db --compressed -X POST --data-raw '{"db":{"dialect":"postgres","host":"127.0.0.1:5432","database":"gancio","username":"gancio","password:gancio"}}'
|
||||
|
||||
- run: |
|
||||
curl 'http://localhost:13120/api/setup/db'
|
||||
--compressed -X POST
|
||||
-H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0'
|
||||
-H 'Accept: application/json, text/plain, */*'
|
||||
-H 'Accept-Language: en-US,en;q=0.5'
|
||||
-H 'Accept-Encoding: gzip, deflate, br, zstd' -H 'Content-Type: application/json'
|
||||
-H 'Origin: http://localhost:13120'
|
||||
-H 'Connection: keep-alive'
|
||||
-H 'Referer: http://localhost:13120/setup/0'
|
||||
-H 'Cookie: i18n_redirected=en; auth.strategy=local'
|
||||
-H 'Sec-Fetch-Dest: empty'
|
||||
-H 'Sec-Fetch-Mode: cors'
|
||||
-H 'Sec-Fetch-Site: same-origin'
|
||||
-H 'Priority: u=0'
|
||||
--data-raw '{"db":{"dialect":"sqlite","storage":"./gancio.sqlite","host":"localhost","database":"gancio","password":"gancio"}}'
|
||||
|
||||
|
|
Loading…
Reference in a new issue