-
Notifications
You must be signed in to change notification settings - Fork 0
Home
David Skoda edited this page Feb 5, 2017
·
1 revision
Note: You need to have postgresql installed in your system if you are not using Cloud9
First, you have to start the postgresql server and log into the psql server console.
$ sudo service postgresql start
$ sudo sudo -u postgres psql
Then, create a user in the server with default username
and password
. Exit the server.
postgres=# CREATE USER username SUPERUSER PASSWORD 'password';
postgres=# \q
In your terminal / console, type the following command:
$ echo "export USERNAME=username" >> ~/.profile
$ echo "export PASSWORD=password" >> ~/.profile
$ source ~/.profile