This is nobuoka's hobby web application.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
app
gradle/wrapper
modules
system-test
.gitignore
Procfile
README.markdown
build.gradle
gradlew
gradlew.bat
local.conf.template
settings.gradle

README.markdown

社会的貸借対照表 (Social B/S)

CircleCI codecov Codacy Badge

How to run on localhost

  • Copy local.conf.template file to local.conf.
  • Edit local.conf file for your environment.
  • Run Main#main function with parameter -config=local.conf.
    • For example, execute command ./gradlew :app:run --args="-config=../local.conf"

Heroku

This application runs on Heroku.

Procfile file and Gradle :app:stage task are defined for Heroku.

Application configuration

Environment variables

Name Example
SBS_CONTEXT_URL https://vcsbs.herokuapp.com/
SBS_SESSION_ENCRYPTION_KEY 0123456789ABCDEF Length must be 16
SBS_SESSION_SIGN_KEY 01234567 Length must be 8
SBS_TWITTER_CLIENT_IDENTIFIER YOUR_TWITTER_APP_IDENTIFIER
SBS_TWITTER_CLIENT_SECRET YOUR_TWITTER_APP_SHARED_SECRET