brew update
brew install postgres
Download and install from here: https://www.pgadmin.org/download/macosx.php
Edit /usr/local/var/postgres/postgresql.conf
and turn on verbose logging:
log_statement = 'all'
-
Start postgresql:
postgres -D /usr/local/var/postgres
-
Open a new terminal window
-
Get Steam:
s3cmd get s3://steam-release/steam-master-darwin-amd64.tar.gz tar xvf steam-master-darwin-amd64.tar.gz cd steam-master-darwin-amd64
-
Create application user (one-time only):
createuser -P steam
-
Create the Steam database:
cd var/master/scripts ./create-database.sh cd ../../..
-
Start the compilation service:
java -jar var/master/assets/jetty-runner.jar var/master/assets/ROOT.war
-
Open a new terminal window
-
Start Steam
./steam serve master \ --superuser-name=superuser \ --superuser-password=superuser
git clone https://github.com/h2oai/steam.git
cd steam/tests
python example.py
TODO: Add specifics
-
Drop the Steam database:
cd steam-master-darwin-amd64 ./var/master/scripts/drop-database.sh
-
Ctrl+C
on the steam, compilation service and postgres terminal windows.