runway
is a simple Play Framework deployment tool.
Follow the following steps in order to build and run from source:
- Clone the repository from GitHub either via git command-line or git GUI (e.g. SmartGit, SourceTree, TortoiseGit, etc.)
- Switch to the application directory (e.g.
cd runway
) - Run
sbt -mem 4096 -jvm-debug 9999
to allocate 4GB of memory and switch to the SBT console in debug mode - Run
update
to pull down the required dependencies - (Optional) Configure the solution for your favorite IDE:
- IntelliJ IDEA: Import as a Play Framework project
- Eclipse: Run
eclipse
- Run
test
to start the test runner and ensure all tests are passing - Run
run
to startrunway
in http://localhost:9000 - (Optional) Configure your IDE for debugging, refer to Setting up your preferred IDE in Play Framework documentation
The following is the required development environment setup.
The following binaries / libraries need to be installed in order to compile the web application:
- Java SDK 1.8, either Azul Zulu 8 (preferred), or Oracle Java SDK 8
- SBT 0.13.13+
- Scala 2.11.x
We follow the "fork-and-pull" Git workflow.
- Commit changes to a branch (use
snake_case
convention):- For technical task / chores, use
chore/
prefix followed by the short description, e.g.chore/do_this_chore
- For new features, use
feature/
prefix followed by the feature name, e.g.feature/feature_name
- For bug fixes, use
fix/
prefix followed by the short description, e.g.fix/fix_this_bug
- For hotfixes, use
hotfix/
prefix followed by the short description, e.g.hotfix/config_update
- For technical task / chores, use
- Rebase or merge from
master
- Submit a PR against
master
with your changes
Please read CONTRIBUTING for more details.