Add usage instructions for scripts and convert CRLF to LF

This commit is contained in:
Disassembler 2017-09-15 14:10:38 +02:00
parent 44ede81f81
commit c6782e3557
4 changed files with 675 additions and 658 deletions

17
00-install.txt Normal file
View File

@ -0,0 +1,17 @@
# Update package info
apt update
# Install git
apt install git
# Clone the repository
git clone https://gitlab.dasm.cz:8443/Spotter-Cluster/Spotter-Cluster.git
# Enter the repository directory
cd Spotter-Cluster
# Optional: Rename the scripts you don't wish to run
mv script.sh script.sh.bak
# Launch the scripts
*.sh

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
CREATE ROLE sahana NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${SAHANA_PWD}'; CREATE ROLE sahana NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${SAHANA_PWD}';
CREATE DATABASE sahana; CREATE DATABASE sahana;
REVOKE ALL ON DATABASE sahana FROM public; REVOKE ALL ON DATABASE sahana FROM public;
ALTER DATABASE sahana OWNER TO sahana; ALTER DATABASE sahana OWNER TO sahana;
\c sahana; \c sahana;
CREATE EXTENSION postgis; CREATE EXTENSION postgis;
GRANT ALL ON geometry_columns TO sahana; GRANT ALL ON geometry_columns TO sahana;
GRANT ALL ON spatial_ref_sys TO sahana; GRANT ALL ON spatial_ref_sys TO sahana;

View File

@ -1,4 +1,4 @@
CREATE ROLE seeddms NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${SEEDDMS_PWD}'; CREATE ROLE seeddms NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${SEEDDMS_PWD}';
CREATE DATABASE seeddms; CREATE DATABASE seeddms;
REVOKE ALL ON DATABASE seeddms FROM public; REVOKE ALL ON DATABASE seeddms FROM public;
ALTER DATABASE seeddms OWNER TO seeddms; ALTER DATABASE seeddms OWNER TO seeddms;