yinpeng / mixit

MiXiT website

Home Page:https://mixitconf.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

MiXiT website

https://mixitconf.org

License:Apache License 2.0


Languages

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