forked from UTulsa-Research/ag_gen
Updating README.md
This commit is contained in:
parent
3c99fcf13e
commit
3a6e65a2f2
14
README.md
14
README.md
@ -23,6 +23,20 @@ An example use of this is:
|
|||||||
|
|
||||||
./db_manage.sh -d ag_gen
|
./db_manage.sh -d ag_gen
|
||||||
|
|
||||||
|
#### Add PSQL users and alter permissions
|
||||||
|
Log in to the Postgres user
|
||||||
|
sudo su postgres
|
||||||
|
Then connect to the PSQL terminal
|
||||||
|
psql
|
||||||
|
Now create the user and adjust permissions
|
||||||
|
CREATE USER ag_gen;
|
||||||
|
|
||||||
|
ALTER USER ag_gen WITH SUPERUSER;
|
||||||
|
ALTER USER ag_gen WITH login;
|
||||||
|
ALTER USER ag_gen WITH ENCRYPTED PASSWORD '8PZQc79NUZ3FjqSB';
|
||||||
|
Repeat, using root and your local user name in place of the ag gen user.
|
||||||
|
Note, if you change the password, be sure to change the passwords in the config.ini files.
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
This application uses CMake to build.
|
This application uses CMake to build.
|
||||||
|
|||||||
0
db_init.sh
Normal file
0
db_init.sh
Normal file
4
deps.sh
4
deps.sh
@ -14,10 +14,10 @@ elif [[ $OS = 'linux' ]]; then
|
|||||||
if hash pacman 2>/dev/null; then
|
if hash pacman 2>/dev/null; then
|
||||||
sudo pacman -S cmake postgresql boost cppcheck clang doxygen graphviz libconfig openmpi
|
sudo pacman -S cmake postgresql boost cppcheck clang doxygen graphviz libconfig openmpi
|
||||||
elif hash apt-get 2>/dev/null; then
|
elif hash apt-get 2>/dev/null; then
|
||||||
sudo apt-get -y install libboost-graph-dev postgresql postgresql-contrib \
|
sudo apt-get -y install libboost-all-dev postgresql postgresql-contrib \
|
||||||
libpq-dev cppcheck clang valgrind doxygen graphviz cmake \
|
libpq-dev cppcheck clang valgrind doxygen graphviz cmake \
|
||||||
build-essential bison flex libssl-dev libconfig++-dev libyaml-cpp-dev \
|
build-essential bison flex libssl-dev libconfig++-dev libyaml-cpp-dev \
|
||||||
openmpi
|
openmpi-bin libomp-dev
|
||||||
elif hash yum 2>/dev/null; then
|
elif hash yum 2>/dev/null; then
|
||||||
sudo yum install cmake epel-release postgresql-devel boost-devel \
|
sudo yum install cmake epel-release postgresql-devel boost-devel \
|
||||||
openssl-devel graphviz-devel bison-devel flex-devel cppcheck valgrind \
|
openssl-devel graphviz-devel bison-devel flex-devel cppcheck valgrind \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user