Update docs/source/install.rst

This commit is contained in:
AcuGIS 2024-03-25 11:08:23 +00:00
parent 423e37a3ed
commit b2a0f6921a
1 changed files with 7 additions and 37 deletions

View File

@ -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