-
Notifications
You must be signed in to change notification settings - Fork 987
Getting started
Welcome to our Wiki for Streama v1 of the app!
On this page you will find deployment info (mainly for Linux).
For the FAQs, visit the dedicated FAQs Page.
Here is a video Tutorial of @dularion setting it up: http://www.youtube.com/watch?v=GUcbVTrdNv8
Below you can find a step-by-step.
Get and install Java 8 (JDK or JRE). OpenJDK is a preferred JDK.
Download the latest war from the releases page, for instance by using the terminal command wget https://github.com/dularion/streama/releases/download/v1.4.2/streama-1.4.2.war
into the same directory.
A sample application.yml is avalible at https://github.com/dularion/streama/blob/master/docs/sample_application.yml
Suggestion: use /data/streama
for the yml and the war and /data/streama/files
for the uploaded files.
Run the app using sudo ./streama-[version].war
or the failsafe option java -jar streama-[version].war
. Once you see the console output
Grails application running at http://localhost:8080 in environment: production
you are set to go! just navigate to localhost:8080 and you will see a login screen (default = username:admin, password:admin), and the program is up and running. Enjoy! :)
For production-purposes, you should consider running streama as a background-service and using mysql instead of the built-in h2 database, for backuping purposes and scalability.
ℹ️ If something didn't work or you want to improve the workflow, check the the dedicated FAQs Page.