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
|
@ -21,7 +21,3 @@ repos:
|
||||||
- id: djlint-jinja
|
- id: djlint-jinja
|
||||||
files: '.*\.html'
|
files: '.*\.html'
|
||||||
entry: djlint --reformat
|
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:
|
Run the postgres database:
|
||||||
|
|
||||||
```bash
|
```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:
|
To run the server:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/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
|
echo 'drop schema public cascade; create schema public;' | psql $DB_URI
|
||||||
|
|
||||||
poetry run alembic upgrade head
|
poetry run alembic upgrade head
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/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
|
echo 'drop schema public cascade; create schema public;' | psql $DB_URI
|
||||||
|
|
||||||
poetry run alembic upgrade head
|
poetry run alembic upgrade head
|
||||||
|
|
Loading…
Reference in New Issue