Skip to content

Commit 05e50f4

Browse files
committed
update install instructions
1 parent 23274ab commit 05e50f4

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

README.md

+19-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,23 @@
1010

1111
git clone https://github.com/awolf-lib/g_nom.git
1212

13-
2. Change config.conf to match your environment.
13+
2. Enter the project directory:
14+
cd g_nom
1415

15-
3. Start setup in the project directory:
16+
3. Create a copy of the default.config and rename the copy to local.config
17+
cp default.config local.config
18+
19+
4. Set the path to the main storage directory by changing the value for DATA_DIR.
20+
21+
5. Set the path to the import directory by changing the value for IMPORT_DIR.
22+
23+
6. Optional (but recommended): Change the MySQL root password by changing the value for MYSQL_ROOT_PASSWORD.
24+
25+
7. Optional (but recommended): Change the initial username and password by changing the value for INITIAL_USER_USERNAME and INITIAL_USER_PASSWORD.
26+
27+
8. If running in a network environment: Specify the IP address of the host server by changing the value for SERVER_ADRESS.
28+
29+
9. Start the setup in the project directory:
1630
./setup.sh
1731

1832
# Start
@@ -25,4 +39,6 @@ Start services:
2539
Stop services:
2640
./shutdown.sh
2741

28-
# remove Container
42+
# Uninstall
43+
44+
Run ./uninstall.sh and read carefully! Root permissions required to delete all stored data!

0 commit comments

Comments
 (0)