Add usage instructions for scripts and convert CRLF to LF
This commit is contained in:
parent
44ede81f81
commit
c6782e3557
17
00-install.txt
Normal file
17
00-install.txt
Normal 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
@ -1,8 +1,8 @@
|
||||
CREATE ROLE sahana NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${SAHANA_PWD}';
|
||||
CREATE DATABASE sahana;
|
||||
REVOKE ALL ON DATABASE sahana FROM public;
|
||||
ALTER DATABASE sahana OWNER TO sahana;
|
||||
\c sahana;
|
||||
CREATE EXTENSION postgis;
|
||||
GRANT ALL ON geometry_columns TO sahana;
|
||||
GRANT ALL ON spatial_ref_sys TO sahana;
|
||||
CREATE ROLE sahana NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${SAHANA_PWD}';
|
||||
CREATE DATABASE sahana;
|
||||
REVOKE ALL ON DATABASE sahana FROM public;
|
||||
ALTER DATABASE sahana OWNER TO sahana;
|
||||
\c sahana;
|
||||
CREATE EXTENSION postgis;
|
||||
GRANT ALL ON geometry_columns TO sahana;
|
||||
GRANT ALL ON spatial_ref_sys TO sahana;
|
||||
|
@ -1,4 +1,4 @@
|
||||
CREATE ROLE seeddms NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${SEEDDMS_PWD}';
|
||||
CREATE DATABASE seeddms;
|
||||
REVOKE ALL ON DATABASE seeddms FROM public;
|
||||
ALTER DATABASE seeddms OWNER TO seeddms;
|
||||
CREATE ROLE seeddms NOSUPERUSER NOCREATEDB NOCREATEROLE NOINHERIT LOGIN ENCRYPTED PASSWORD '${SEEDDMS_PWD}';
|
||||
CREATE DATABASE seeddms;
|
||||
REVOKE ALL ON DATABASE seeddms FROM public;
|
||||
ALTER DATABASE seeddms OWNER TO seeddms;
|
||||
|
Loading…
Reference in New Issue
Block a user