Git Product home page Git Product logo

fuseless-template's Introduction

FuseLess Template

A Template for building CFML powered AWS Lambda Functions.

Quick Start Instructions

  • Download this repo and unzip it somewhere.
  • If you are on a mac / linux run init.sh to download Lucee Light and FuseLess jar files. On windows see: jars/README.md
  • Add your CFML to the cfml/app/ folder
  • Install Gradle
  • Run gradle build in terminal or command prompt
  • For continuous builds ( hot building ) run gradle build -t

At this point you will now have a CFML serverless application all packaged up in a zip file ๐ŸŽ‰

The zip file is located in build/distributions/fuseless-template.zip it can be uploaded to Lambda or tested locally using sam local

Renaming the zip file

In the build.gradle file there is a line towards the top that reads:

archivesBaseName = 'fuseless-template'

Simple rename that, or delete the line and it will use the name of the parent folder. You will also need to update the template.yml file, where you see this:

CodeUri: ./build/distributions/fuseless-template.zip

Change it to match your new zip file name.

Testing locally

If you want to test your code locally without uploading to AWS you can use the aws sam cli. Once you have installed it, you can simply run:

sam local start-api

And it will start up a server which you can use to test it on.

You can also use sam to generate cloud formation templates to deploy your application.

Support, Questions, Issues

Contact Foundeo Inc.

fuseless-template's People

Contributors

kukielp avatar pfreitag avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.