[UNMAINTAINED] Website of ssmu powerlifting club
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
SQL
app
conf
project
public
test
.gitignore
.travis.yml
LICENSE
README.md
build.sbt

README.md

SSMU Powerlifting website

Build Status

Website for ssmu powerlifting club with profiles for club members

##Instructions to deploy ###Setting up the postgresql server: Install Postgres

sudo apt-get install postgresql postgresql-contrib

Set user for postgres

sudo -u postgres psql postgres

Set password for postgres user

\password postgres

Edit the pg_hba.conf file

find / -name "pg_hba.conf"

Change peer to md5

Create database

CREATE DATABASE ssmu-powerlifting

Create tables

psql -U postgres -d ssmupowerlifting -a -f SQL/create.sql

###Before live run Change the following in conf/application.conf

  • change application secret
  • change database and database username and password

###Compile for live run sbt dist

###In unzipped directory of program mkdir -p images/profiles SQL

###Run command ./bin/ssmu-powerlifting -Dhttp.port=1234