- Generate an application secret (instructions).
- Create a distribution of the
sample-scalaapplication (instructions). Unzip the distribution to a convenient location. - Create a start script (you may also include any of the application's optional configuration settings):
nohup path_to_unzipped_dist/bin/sample-scala \ -Dplay.http.context=/playfop/live-demo \ '-Dplay.http.secret.key=your_secret_key' & - Make the start script executable with
chmod.
On a server with SELinux enabled, for Apache httpd to use the certificate files in this repository's /etc/pki/tls/certs directory, their SELinux type must be set to cert_t. Sample syntax (presumes this repository has been cloned to /dmanchester.com):
semanage fcontext -a -t cert_t "/dmanchester.com/etc/pki/tls/certs/.+"
restorecon -v /dmanchester.com/etc/pki/tls/certs/*