All Projects → mikesprague → Vagrant Lemtl

mikesprague / Vagrant Lemtl

Licence: mit
Vagrant box with Linux, Nginx, MariaDB (or MySQL), Tomcat, and Lucee for local development with CFML and Java

Projects that are alternatives of or similar to Vagrant Lemtl

Lucee
Lucee Server is a dynamic, Java based (JSR-223), tag and scripting language used for rapid web application development. Lucee simplifies technologies like webservices (REST, SOAP, HTTP), ORM (Hibernate), searching (Lucene), datasources (MSSQL, Oracle, MySQL and others), caching (infinispan, ehcache, and memcached) and many more. Lucee provides a compatibility layer for Adobe ColdFusion © CFML using less resources and delivering better performance.
Stars: ✭ 719 (+1653.66%)
Mutual labels:  coldfusion
Docker Lucee Mysql
Starter project for running CFML Applications in Dev & Production on Lucee & MySQL.
Stars: ✭ 9 (-78.05%)
Mutual labels:  coldfusion
Tinytest
A tiny unit testing framework built as a means to learn more about unit testing in ColdFusion.
Stars: ✭ 13 (-68.29%)
Mutual labels:  coldfusion
Birthdayreminder v0.2.0
Stars: ✭ 5 (-87.8%)
Mutual labels:  coldfusion
Cfeosocial
cfeoSocial is a set of gateways/test pages to integrate with Social Media APIs (Google,LinkedIn,Facebook).
Stars: ✭ 8 (-80.49%)
Mutual labels:  coldfusion
Mobilemura
MobileMura is a plugin that adds advanced mobile features to Mura CMS.
Stars: ✭ 9 (-78.05%)
Mutual labels:  coldfusion
Muracms
Mura | Digital Experience Platform | Headless CMS
Stars: ✭ 267 (+551.22%)
Mutual labels:  coldfusion
Varscoper
varScoper is a code scanning tool that can be used to identify variables that are not explicitly scoped to be local or global to a ColdFusion function.
Stars: ✭ 30 (-26.83%)
Mutual labels:  coldfusion
Forecastcfml
a cfml wrapper for Forecast.io api
Stars: ✭ 8 (-80.49%)
Mutual labels:  coldfusion
Toscript
Converts Tag based CFML to CFML Script
Stars: ✭ 12 (-70.73%)
Mutual labels:  coldfusion
Db Dot Cfc
Enhances cfquery by analyzing SQL to enforce security & framework conventions.
Stars: ✭ 5 (-87.8%)
Mutual labels:  coldfusion
Bernoutjethol
Stars: ✭ 8 (-80.49%)
Mutual labels:  coldfusion
Cfmlstats
Parses your CFML code base and gives you stats
Stars: ✭ 10 (-75.61%)
Mutual labels:  coldfusion
Cfmessenger v0.2.0
Stars: ✭ 5 (-87.8%)
Mutual labels:  coldfusion
Openbd Administrator
The browser based administrator for the Open BlueDragon CFML engine.
Stars: ✭ 14 (-65.85%)
Mutual labels:  coldfusion
Fw1
FW/1 - Framework One - is a lightweight, convention over configuration, MVC application framework for ColdFusion / CFML.
Stars: ✭ 371 (+804.88%)
Mutual labels:  coldfusion
Introtogit
Intro to Git presentation materials
Stars: ✭ 9 (-78.05%)
Mutual labels:  coldfusion
Poiutility.cfc
A ColdFusion component (and set of custom tags) for reading and writing XLS (Excel) documents in ColdFusion.
Stars: ✭ 36 (-12.2%)
Mutual labels:  coldfusion
Cfbackport
Back porting features contained in newer versions of ColdFusion.
Stars: ✭ 27 (-34.15%)
Mutual labels:  coldfusion
Combine
Serves Combined & compressed js & css with caching, using ColdFusion
Stars: ✭ 11 (-73.17%)
Mutual labels:  coldfusion

Vagrant LEMTL v2.0.0 Vagrant v1.9.0 Virtual Box v5.1.10 Lucee v5.1.0.17

Vagrant LEMTL

Vagrant box with Linux, Nginx, MariaDB (or MySQL), Tomcat, and Lucee for local development with CFML and Java


Find this project useful? Show some love 💞 and buy me a cup of cofee! ☕️


Last Updated December 1, 2016

Prerequisites

NOTE: All version numbers used in this document are confirmed to work, and are current, as of the above last updated date

Required

It is assumed you have Virtual Box and Vagrant installed. If not, then grab the latest version of each at the links below:

Highly Recommended

Once Vagrant is installed, or if it already is, it's highly recommended that you install the following Vagrant plugins:


What's Included

  • Ubuntu Server v14.04.4 LTS (Trusty Tahr) 64bit
    • Make sure curl, wget, unzip, zip, iptables, debconf-utils, and software-properties-common are installed
    • Set vm timezone (configure in Vagrantfile)
    • NOTE: Tested and working with Ubuntu v12.04, v14.04, v14.10, v16.04 (configurable via Vagrantfile)
  • Nginx v1.11.5
    • Set up to serve all static content and reverse-proxy cfm/cfc/jsp requests to Tomcat
    • MariaDB v10.1.x or MySQL v5.7.x (defaults to MariaDB, configurable in Vagrantfile)
    • lower_case_table_names = 1 (disables case sensitivity)
    • bind-address set to 0.0.0.0 so database server can be accessed from the host machine directly (without ssh tunnel)
  • Tomcat v7.0.52 with Java (OpenJDK) v1.8.0_91
    • catalina.properties tweaks for improved performance
  • Lucee v5.1.0.17 (dev)
    • cfspreadsheet-lucee-5 pre-installed
      • Many thanks to Andrew Kretzer for his work updating cfspreadsheet-lucee for Lucee 5 compatibility
    • jsoup v1.9.2 included in Lucee server bundles directory
    • Tweaks to Lucee via server admin
      • Smart whitespace suppression
      • Preserve single quotes option enabled for dataase queries
      • Update provider set to Development Releases
      • Default cache (ehcache) setup so cacheGet/cachePut/etc work out of the box

Installation

The first time you clone the repo and bring the box up, it may take several minutes. If it doesn't explicitly fail/quit, then it is still working (the Linux updates, on first run, can take a while).

git clone https://github.com/mikesprague/vagrant-lemtl.git
cd vagrant-lemtl/vagrantroot && vagrant up

Once the Vagrant box finishes and is ready, you should see something like this in your terminal:

==> default: Vagrant-LEMTL-v2.0.0
==> default:
==> default: ===============================================================
==> default:
==> default: http://www.vagrant-lemtl.local (192.168.50.25)
==> default:
==> default: Lucee Server/Web Context Administrators
==> default:
==> default: http://www.vagrant-lemtl.local/lucee/admin/server.cfm
==> default: http://www.vagrant-lemtl.local/lucee/admin/web.cfm
==> default: Password (for each admin): password
==> default:
==> default:
==> default: Database Server Connection Info for External Connections
==> default: from Host Machine
==> default:
==> default: Server: db.vagrant-lemtl.local
==> default: Port: 3306
==> default: User: root
==> default: Password: password
==> default:
==> default: ===============================================================

Once you see that, you should be able to browse to http://www.vagrant-lemtl.local/ or http://192.168.50.25/ (it may take a few minutes the first time a page loads after bringing your box up, subsequent requests should be much faster).

NOTES

  • On Windows (host machines) you should run your terminal as an Administrator; you will also need to make sure your Hosts file isn't set to read-only if you want to take advantage of the hostname functionality. Alternatively, simply use the IP address anywhere you would use the hostname (connecting to database server, etc).

  • Git Large File Storage (Git LFS) enabled via the .gitattributes file for .jar and .lco files by default. This should not cause any issues if you do not have Git LFS installed/enabled. If you don't have Git LFS installed locally (or enabled on your GitHub account), it should just ignore the attributes. If there are any problems, please report them in the issue tracker.


References

The following two posts, written by Mark Drew, heavily influenced this project:

Help with Nginx config from the following blog post by Yuri Vorontsov:


License

The MIT License (MIT)

Copyright (c) 2015 Mike Sprague

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].