Skip to content

Commit 4eb9e10

Browse files
committed
Update README.md
1 parent bc347e9 commit 4eb9e10

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,7 @@ For production installation it is recommended to use the latest packages availab
3232
3333
Note: The aris-configdb command exists to simplify this process. Otherwise follow the steps listed below.
3434
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
4936
```
5037
# /etc/aris.d/<filename>
5138
@@ -61,6 +48,19 @@ For production installation it is recommended to use the latest packages availab
6148
# The domain name of the server
6249
# Note this is only required when the server is running in self signing mode
6350
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>;
62+
63+
# To exit the interface type \q
6464
```
6565
5. Start and enable the service
6666

libaris/res/edu/rpi/aris/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.52
1+
0.0.53

0 commit comments

Comments
 (0)