行灯職人への道 (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 (札幌北高校).
update-java-alternatives
mogrify
command)cp twitter4j.properties.example twitter4j.properties
and edit ith2.jar
cp conf/notifier.conf.example conf/notifier.conf
and edit itandon
commandandon
is a convenient command for (start|stop|restart|backup|restore) this application.
Usage: andon (start|stop|restart|backup|restore)
start
stop
restart
backup
files
directory and the DB contentsh2.jar
is neededbackup
directory2014-08-03.tar.gz
(files
directory) and 2014-08-03.sql
(DB records)restore
./andon restore 2014-08-05
backup/2014-08-05.tar.gz
, backup/2014-08-05.sql
and db/h2.jar
are neededIf you want to change port-number, edit andon
file and change port
variable to another number.
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)
}
}
% git clone git@github.com:amutake/satsukita-andon.com.git
% cd satsukita-andon.com
% git submodule init
% git submodule update
% ./andon start
The font used in the logo is 祥南行書体.