Skip to content

yinpeng/mixit

 
 

Repository files navigation

Travis CI

MiXiT 2017 website

This project purpose is to power the MiXiT 2017 website.

Software design

This project software design goal is to demonstrate what a functional web application developed with Spring Framework 5 and Kotlin can look like:

The technologies used are:

Getting started

Prerequisite

Run the app in dev mod using command line

  • Run mongod
  • Run ./gradlew bootRun in another terminal
  • Run gulp watch in another terminal
  • Open http://localhost:8080/ in your browser
  • If you just want to restart the app: ./gradlew bootRun -x gulpBuild
  • If you want to debug the app, add --debug-jvm parameter to Gradle command line

Sass, TypeScript, messages*.properties and templates should be live reloaded.

Import and run the project in IDEA

  • Make sure you have at least IntelliJ IDEA 2016.3 and IDEA Kotlin plugin 1.1.0 (menu Tools -> Kotlin -> configure Kotlin Plugin Updates -> make sure "Stable" channel is selected -> check for updates now -> restart IDE after the update)
  • Import it in IDEA as a Gradle project and make sure to uncheck "Create Module for each SourceSet" to avoid a nasty bug that prevent to run the app in IDEA
  • Run mongod in command line
  • In IntelliJ IDEA, right click on Application.kt then Run ... or Debug ...
  • Run gulp watch in another terminal
  • Open http://localhost:8080/ in your browser

Sass, TypeScript, messages*.properties and templates should be live reloaded.

Package and run the application from the executable JAR:

./gradlew clean build
java -jar build/libs/mixit-1.0.0-SNAPSHOT.jar

Deploy the app on Cloud Foundry

./gradlew clean build
cf push

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 39.7%
  • HTML 27.8%
  • CSS 18.6%
  • Java 7.7%
  • JavaScript 4.4%
  • TypeScript 1.8%