amutake / satsukita-andon.com

satsukita-andon.com
http://satsukita-andon.com
1 stars 1 forks source link

行灯職人への道 - satsukita-andon.com

logo

http://satsukita-andon.com

行灯職人への道 (satsukita-andon.com) is a website to record and support andon-gyoretsu (行灯行列), which is one of the most exciting events of Sapporo-Kita High School (札幌北高校).

Requirements

Usage of andon command

andon is a convenient command for (start|stop|restart|backup|restore) this application.

Usage: andon (start|stop|restart|backup|restore)

If you want to change port-number, edit andon file and change port variable to another number.

Branches

Development

Use play run instead of ./andon start.

If you want to insert initial data, add the following code.

(app/Global.scala)

...

object Global extends GlobalSettings {

  override def onStart(app: Application) {
    ...
    InitialData.insert
    ...
  }

  ...

}

...

object InitialData {
  ...
  def insert = DB.db.withSession { implicit session: Session =>
    Accounts.create("開発者", "developer", "password", OrdInt(60), Admin)
  }
}

Deployment

% git clone git@github.com:amutake/satsukita-andon.com.git
% cd satsukita-andon.com
% git submodule init
% git submodule update
% ./andon start

Fonts

The font used in the logo is 祥南行書体.

Contributing

  1. Fork it (https://github.com/amutake/satsukita-andon.com/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request