Update documentation

This commit is contained in:
Rikard Bartholf
2016-02-12 12:54:28 +01:00
parent ab695bcf83
commit 260c9939c3
3 changed files with 11 additions and 10 deletions
+2 -2
View File
@@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
export $PSQL_OPTS= export PSQL_OPTS="-h localhost -U root"
export $DB_NAME= export DB_NAME=photowall
+8 -8
View File
@@ -6,20 +6,20 @@
#### Configuration #### Configuration
All configuration needed is done in .configuration.sh. All configuration needed is done in .configuration.sh.
Note that a
[.pgpass](http://www.postgresql.org/docs/9.3/static/libpq-pgpass.html) file will To avoid having to enter password for selected user on each run, just use a
do most of the times as well and therefore configuration is not mandatory. [.pgpass](http://www.postgresql.org/docs/9.3/static/libpq-pgpass.html) file.
#### Migration files #### Migration files
The files in the /migrations directory are changes to the scheme, not the full The files in the /migrations directory are changes to the scheme, not the full
scheme. scheme.
The naming convention for migration files are: The naming convention for migration files are:
- 000.000 - 000.000.sql
- 000.001 - 000.001.sql
- 000.002 - 000.002.sql
- 000.003 - 000.003.sql
- 000.004 - 000.004.sql
- ...and so on - ...and so on
**Example** **Example**
+1
View File
@@ -0,0 +1 @@
-- Empty