Skip to content

FranklinYinanDing/play-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

play-blog

A blog engine built upon Play Framework with Markdown experience by leveraging Pegdown and github-markdown-css. It is designed to be a simple multi-user blog backed by SQLite. See this sample blog.

Features

  • Markdown
  • Multi-user
  • Restricted registration via admin
  • Tag

Deployment on Mac/Linux

  • Prerequisites

  • Steps on Terminal

    1. Download the source and enter the root directory, which contains build.sbt.

    2. Run activator.

      $ activator
      
    3. Execute dist task to generate the executable play-blog.

      [play-blog] $ dist
      
    4. Exit activator.

      [play-blog] $ exit
      
    5. Unzip the generated zip file and enter the root directory, which contains bin/.

    6. Consider changing changeme placeholders inside page templates and also the favicon picture.

    7. Run the executable play-blog with all the configurations.

      $ bin/play-blog -Dhttp.port=80 -Dplay.evolutions.db.default.autoApply=true -Dplay.crypto.secret="[play-secret]" -Dadmin.password="[admin-password]"
      
    8. Have an icecream. 🍦