Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 956 Bytes

README.md

File metadata and controls

41 lines (23 loc) · 956 Bytes

Montpellier JUG web site / play 2.1.1 / scala 2.10.1

This project needs local install (publish-local) of:

DartSDK must be declared as an environement variable.

$> export DART_SDK=/path/to/dart_sdk

Enter in the cloned repository $> cd jug-play-scala

Launch sbt: $> sbt

Run the server: $> run

You need to have a postgresql database named jug and its owner needs to be test with password test :

  • $> psql
  • $> CREATE USER test;
  • $> ALTER USER test WITH ENCRYPTED PASSWORD 'test';
  • $> CREATE DATABASE jug OWNER test;

To build the dist file for cloundfoundry:

$> sbt -Dconfig.file=conf/cloud.conf clean dist

To deploy:

$> vmc push --path=dist/jug-play-scala-1.0.zip

Reinstall dart dependencies.

$> $DART_SDK/bin/pub install

$> sbt

$> run