Code Monkey home page Code Monkey logo

fw1-cfmigrations-example's Introduction

FW/1 & CFMigrations Example

An example of using CFMigrations as a Subsystem in an FW/1 application.

Requirements

  • Lucee 5.x+
  • ACF 2016+ (With some tweaking. See note below.)
  • FW/1 4.x+

NOTE: This example application has been setup to run on Lucee 5.3 with an H2 database. You will need to do some tweaking to use a different engine/db.

Installation

CommandBox

  • Make sure you have Commandbox installed.
  • Clone the repo or drop the zipped contents into a directory.
  • Fire up Commandbox by entering box in your terminal and cd into the project root directory.
  • Run install && start.
  • Start hacking away!

Usage

From the project root, start CommandBox in your preferred terminal. Make sure you have included the test dependencies project dependencies by running install. Start the server by executing server start. The server instance will be located at http://127.0.0.1:8520.

Running The Application

Once the server has started, you will have a simple FW/1 application to navigate through.

Running Tests With CommandBox & TestBox

TODO: Update test cases.

Once the server has started, you can run testbox run in the terminal to execute the tests. To view the test results in the browser, you can navigate to http://127.0.0.1:8520/tests/runner.cfm.

fw1-cfmigrations-example's People

Contributors

tonyjunkes avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

fw1-cfmigrations-example's Issues

cfmigration NOT in subsystems directory

Hi @tonyjunkes,
I'm trying to integrate cfmigration with fw1, but without installing it in the subsystems directory, but in a /com/cfmigrations/ directory

in the /subsystems/ directory I write all the logic to do up / down migrations (in the/ subsystems/ migrations/ directory)

This is my LoadListener.cfc: https://gist.github.com/ivanionut/c9f8e0dbd2e4e8737d4601364dff0973

and this is the error I get:
fw1

Do you have any suggestions for this error?
Thanks,
Ivan

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.