Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vjousse/play2-blog-jousse
My personnal blog using Play2
https://github.com/vjousse/play2-blog-jousse
Last synced: 12 days ago
JSON representation
My personnal blog using Play2
- Host: GitHub
- URL: https://github.com/vjousse/play2-blog-jousse
- Owner: vjousse
- License: wtfpl
- Created: 2011-11-27T11:43:16.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2016-02-14T09:09:04.000Z (almost 9 years ago)
- Last Synced: 2024-10-04T16:31:01.036Z (3 months ago)
- Language: HTML
- Homepage: http://vincent.jousse.org
- Size: 6.76 MB
- Stars: 12
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Installation
Install sbt and run it in the project folder.
sbt run
Copy the `conf/application.conf.dist` to `conf/application.conf` and change the default values as needed.
# Deploy
Tweak the `deploy.sh` script and run it. Be sure to have the same JVM version on the client and on the server.
## Service (ubuntu)
service blog start
Service file example:
env JAVA_OPTS="-Xms512m -Xmx512m"
pre-start script
rm -f /home/vjousse/scala/blog/RUNNING_PID
mkdir -p /home/vjousse/scala/blog/logs
chown -R vjousse:vjousse /home/vjousse/scala/blog/logs
end scriptstart on runlevel [2345]
stop on runlevel [06]respawn
script
user="vjousse"
path="/home/vjousse/scala/blog"
executable="$path/bin/jousse-blog-play"
args="-Dconfig.file=$path/application.conf -Dhttp.port=9001"
output="$path/logs/output.log "
exec start-stop-daemon --start --chuid $user --exec $executable -- $args > $output
end script# Documentation
Markdown parser: http://software.clapper.org/markwrap/