You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,20 +32,7 @@ For production installation it is recommended to use the latest packages availab
32
32
33
33
Note: The aris-configdb command exists to simplify this process. Otherwise follow the steps listed below.
34
34
35
-
1. Create the database for aris in postgres.
36
-
```
37
-
# Open the postgres interactive terminal
38
-
sudo -u postgres psql
39
-
40
-
# The following commands should be run in postgres
41
-
CREATE DATABASE <aris-database-name>;
42
-
CREATE USER <aris-username>;
43
-
ALTER USER <aris-username> WITH ENCRYPTED PASSWORD '<aris-password>';
44
-
GRANT ALL PRIVILEGES ON DATABASE <aris-database-name> TO <aris-username>;
45
-
46
-
# To exit the interface type \q
47
-
```
48
-
2. Either create a new configuration file in /etc/aris.d/ or use the same as in step 3 and add the following settings
35
+
1. Either create a new configuration file in /etc/aris.d/ or use the same as in step 3 and add the following settings
49
36
```
50
37
# /etc/aris.d/<filename>
51
38
@@ -61,6 +48,19 @@ For production installation it is recommended to use the latest packages availab
61
48
# The domain name of the server
62
49
# Note this is only required when the server is running in self signing mode
63
50
domain <example.com>
51
+
```
52
+
2. Create the database for aris in postgres. You can either run the commands listed below or run the aris-createdb script as root which will run the below commands using the settings from the previous step
53
+
```
54
+
# Open the postgres interactive terminal
55
+
sudo -u postgres psql
56
+
57
+
# The following commands should be run in postgres
58
+
CREATE DATABASE <aris-database-name>;
59
+
CREATE USER <aris-username>;
60
+
ALTER USER <aris-username> WITH ENCRYPTED PASSWORD '<aris-password>';
61
+
GRANT ALL PRIVILEGES ON DATABASE <aris-database-name> TO <aris-username>;
0 commit comments