Giter Site home page Giter Site logo

fh-group / docker-lucee-mysql Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gregmoser/docker-lucee-mysql

0.0 3.0 0.0 16 KB

Starter project for running CFML Applications in Dev & Production on Lucee & MySQL.

License: MIT License

ColdFusion 90.42% Shell 9.58%

docker-lucee-mysql's Introduction

Docker Lucee MySQL

This is a starter template git repo for running a Database dirven applications on Docker with Lucee & MySQL. It is designed to be copied and used as a git repo for your next web application project.

If you plan to use an open source CFML application (Mura, Slatwall, etc.), this repo also has some code for installing those types of applications automatically on first run. We welcome any other open source applications to be added to this repo as well.

Not only will this simplify team development, but it will also allow you to run your application in the cloud using tutum by docker for test, staging & production enviornments.

Key Features

  • Run your application with no install of Lucee or MySQL
  • Consistent development enviornment for all team members
  • Take DB snapshots during development, and pass around to other team members with the codebase (via git)
  • Push application to cloud using Tutum / Cloud Provider (AWS, DigitalOcean, Google, etc.)
  • Configure your development enviornments via repo
  • Configure your production enviornments via repo

Requirements

  • git
  • docker toolbox (with docker-compose version >= 1.6)

Quickstart

To get up and running simply navigate to where you want to run your project and do:

git clone https://github.com/gregmoser/docker-lucee-mysql.git myProjectName

Then open up the docker quickstart terminal that was installed with docker toolbox, and make a note of the IP address it is running on.

Navigate to the new project directory

cd myProjectName

run the following command to start your project

docker-compose up

Thats It! Navigate to the IP address of the docker machine you're running (that you noted above when starting the terminal). You can also open kitematic to see the web app running, and click on the web preview link

Important Next Steps

Now that you've got the application up and running it's important to take a few next steps so that the repo works for YOUR project.

Open the git config

/myProjectName/.git/config

It should look something like this:

[core]
	symlinks = false
	repositoryformatversion = 0
	filemode = true
	logallrefupdates = true
	precomposeunicode = true
[remote "origin"]
	url = https://github.com/gregmoser/docker-lucee-mysql.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
	remote = origin
	merge = refs/heads/master

You want to change the url under origin to be something like

[remote "origin"]
	url = https://github.com/MY_GITHUB_USERNAME/MY_PROJECT_NAME.git
	fetch = +refs/heads/*:refs/remotes/origin/*

From that point forward all of your team members will just pull from this new git repo that you have setup. They will be starting from the point that you left off. All of your projects code lives in the /www folder so you and your co-workers can work, commit, push & pull as needed.

docker-lucee-mysql's People

Contributors

gregmoser avatar tony-garcia avatar

Watchers

 avatar  avatar  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.