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:
Adrià Casajús 2022-12-02 17:31:31 +01:00 committed by GitHub
parent 7e360bcbd9
commit 8636659ca9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 7 deletions

View file

@ -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

View file

@ -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:

View file

@ -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

View file

@ -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