aboutsummaryrefslogtreecommitdiff
path: root/usage.md
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-04-29 16:39:12 +0300
committerAqua-sama <aqua@iserlohn-fortress.net>2021-04-29 16:39:12 +0300
commit7944577ede672f3e97f7830e892d5f2ab5790684 (patch)
tree624e365cf07d50f885dc288cc3281d199b4aa4a2 /usage.md
parentUser: register and update (diff)
downloadbugtracker-7944577ede672f3e97f7830e892d5f2ab5790684.tar.xz
Add nginx and php-fpm config files
Diffstat (limited to 'usage.md')
-rw-r--r--usage.md19
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
+```