mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 09:13:45 +08:00
Update docs to the same port as the reset script + remove pre-commit pylint (#1464)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
This commit is contained in:
parent
7e360bcbd9
commit
8636659ca9
4 changed files with 3 additions and 7 deletions
|
@ -21,7 +21,3 @@ repos:
|
|||
- id: djlint-jinja
|
||||
files: '.*\.html'
|
||||
entry: djlint --reformat
|
||||
- repo: https://github.com/PyCQA/pylint
|
||||
rev: v2.14.4
|
||||
hooks:
|
||||
- id: pylint
|
||||
|
|
|
@ -91,7 +91,7 @@ DB_URI=postgresql://myuser:mypassword@localhost:35432/simplelogin
|
|||
Run the postgres database:
|
||||
|
||||
```bash
|
||||
docker run -e POSTGRES_PASSWORD=mypassword -e POSTGRES_USER=myuser -e POSTGRES_DB=simplelogin -p 35432:5432 postgres:13
|
||||
docker run -e POSTGRES_PASSWORD=mypassword -e POSTGRES_USER=myuser -e POSTGRES_DB=simplelogin -p 15432:5432 postgres:13
|
||||
```
|
||||
|
||||
To run the server:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
export DB_URI=postgresql://myuser:mypassword@localhost:35432/simplelogin
|
||||
export DB_URI=postgresql://myuser:mypassword@localhost:15432/simplelogin
|
||||
echo 'drop schema public cascade; create schema public;' | psql $DB_URI
|
||||
|
||||
poetry run alembic upgrade head
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
export DB_URI=postgresql://myuser:mypassword@localhost:35432/test
|
||||
export DB_URI=postgresql://myuser:mypassword@localhost:15432/test
|
||||
echo 'drop schema public cascade; create schema public;' | psql $DB_URI
|
||||
|
||||
poetry run alembic upgrade head
|
||||
|
|
Loading…
Reference in a new issue