/ant

Primary LanguageScala

Ant template

Project template for web application using:

Initialisation

Source location

Decide where to put the project. I assume that it's in ~/dev/ant from now on.

Ant profile

Append into $HOME/.bash_profile:

source ~/dev/ant/ant_profile.sh 

Initialise the project

$ ant
$ ./gradlew wrapper
$ ./gradlew idea
$ brew install yarn
$ yarn global add elm
$ yarn global add elm-github-install
$ sudo gem install sass

Run a build

# Fully refresh Ant ui modules (download elm dependencies, etc) and rebuild ui
$ antui-refresh
# run a full Ant build
$ antb
# run Ant ui build continuously watching webapp folder for changes
$ antui

Check ant_profile.sh for build aliases.