From b2a0f6921a0fcee50f7e4cc22d5f44b5047678f8 Mon Sep 17 00:00:00 2001 From: AcuGIS Date: Mon, 25 Mar 2024 11:08:23 +0000 Subject: [PATCH] Update docs/source/install.rst --- docs/source/install.rst | 44 +++++++---------------------------------- 1 file changed, 7 insertions(+), 37 deletions(-) diff --git a/docs/source/install.rst b/docs/source/install.rst index c5a461a..bd7e0ec 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -7,7 +7,7 @@ The script will attempt to provision an SSL certificate using Certbot. Ensure that your hostname is properly set. If not set the hostname using 'hostnamectl set-hostname domain.com' -Usage +Basic Install ------------ Clone the repository:: @@ -18,38 +18,14 @@ Change to the GeoSync directory:: cd GeoSync -Execute the script:: +Execute the scripts in order:: - chmod +x /installer/install.sh && ./installer/install.sh + $ ./installer/postgres.sh + $ ./installer/app-install.sh Upon completion, you should see the message below:: - Backend installation is finished. - Create a PostgreSQL database and user with superuser - # create user myuser with password 'mypassword'; - # create database mydatabase with owner myuser; - # alter user myuser superuser; - Go to https://hostname/admin/setup.php to complete installation. - - -Create Database ------------- - -Create a PostgreSQL database and user. The user must be given superuser in order to create local databases:: - - root@lz370:~/domain# su - postgres - postgres@domain:~$ - - postgres@domain:~$ psql - psql (16.2 (Ubuntu 16.2-1.pgdg22.04+1)) - Type "help" for help. - - postgres=# create user myuser with password 'mypassword'; - CREATE ROLE - postgres=# create database mydatabase with owner myuser; - CREATE DATABASE - postgres=# alter user myuser superuser; - ALTER ROLE + Backend installation is finished. Complete Setup @@ -57,16 +33,10 @@ Complete Setup Go to https://domain.com/admin.setup.php to complete the installation. -Once completed you can login using - -Username: admin@admin.com -Password: 1234 - - .. image:: images/geosync.png + .. image:: images/installer.png -Be sure to change to email and password once logged in. - +Populate the required fields with whatever values you want to use. Manual Installation on Ubuntu 22