diff options
Diffstat (limited to 'usage.md')
-rw-r--r-- | usage.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/usage.md b/usage.md new file mode 100644 index 0000000..1d25ff9 --- /dev/null +++ b/usage.md @@ -0,0 +1,19 @@ +## Starting services + +```sh +php-fpm --fpm-config php/php-fpm.conf +nginx -p nginx/ -c nginx.conf +``` + +## postgresql +### setup +```sh +$ initdb -D /path/to/postgres.d +$ createdb -h localhost -p 5432 -U red bugtracker + +# starting +pg_ctl -D /home/red/etc/postgres/ -l logfile start + +# connecting +psql -h localhost bugtracker +``` |