mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
AWS Clojurescript Gradle Template
This project compiles Clojurescript to a NodeJS module using the Gradle Clojure Plugin.
NodeJS Support
Rudimentary support for loading/using NodeJS modules is provided.
See functions.cljs as an example.
To include NodeJS dependencies, modify build.gradle and add the module to the closurescript .. npmDeps section.
Prerequisites
- Create an Amazon Web Services account
- Install and set-up Serverless Framework CLI
- Install Java 8
- Install NPM
- Install Clojure
- Install Gradle
Build and Deploy
- To build, run
./gradlew clean build - To deploy, run
serverless deploy
Using the Repl in IntelliJ Cursive IDE
This project contains a script the must be initialized in order to use the Repl in IntelliJ.