added tips postgres
This commit is contained in:
parent
cc658384db
commit
17ab12aa15
10
HACKING.md
10
HACKING.md
@ -49,6 +49,16 @@
|
|||||||
|
|
||||||
GRANT ALL PRIVILEGES ON DATABASE namebase TO username;
|
GRANT ALL PRIVILEGES ON DATABASE namebase TO username;
|
||||||
|
|
||||||
|
## Tips of Postgres
|
||||||
|
|
||||||
|
1. List database
|
||||||
|
|
||||||
|
psql -l
|
||||||
|
|
||||||
|
2. Delete database
|
||||||
|
|
||||||
|
dropdb namebase
|
||||||
|
|
||||||
## Conecting to Postgres
|
## Conecting to Postgres
|
||||||
|
|
||||||
1. Copy `settings.py.example` to `settings.py` and modify.
|
1. Copy `settings.py.example` to `settings.py` and modify.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user