How do you deploy local ColdFusion development environments?

Let's say a new developer enters your store and you want to launch him or her without having to install a lot of software on a completely new PC. Ideally, it simply pulls a folder out of the file share containing its IDE (CFEclipse), tools, and ColdFusion instance with JRUN or Tomcat with all the pre-configured settings. She may have to install the SVN client to integrate the file system, but besides this, she may be at the door by 8:00 and set up her editor by 9:00.

When it's time to update everyone, rather than spend hours on development time, everyone can pull out a new build of their environment, download the project, and be ready to go.

I know that the basics is to do one CF installation to create a deployable WAR, tomcat is a folder, eclipse is a folder. I'm just not sure that all this is connected with everything that is connected and good.

edit: the database server will be deleted. No local configuration needed

+4
source share
3 answers

In another approach, you can use the free open source virtualization software VirtualBox and create a complete development environment in the form of a virtual machine on which everything is installed (IDEs, web servers, database servers (if necessary), source control, etc. d.).

Here's a link to a message from someone whose team is currently using this (at work we are also moving). VirtualBox for developers .

In any case, @ kevin.mansel the answer is great, but I just wanted to add this as an alternative approach for the (new) team member to work and work as soon as possible.

+3
source

This is actually the answer of preference.

One way is to record the image of the whole environment and make people build their cars in accordance with the image. When they are up and running, they can pull the project out of the git repository, and they should be turned off and running.

Another way is to go through these steps ...

  • Install CF server on local computer
  • Install the database server on the local computer (if necessary)
  • Installing a CF server with data sources (if necessary)
  • Install CF IDE (if necessary)
  • Extract project from Source Control
  • Setting up web server directories for a project

It should be fine after that. Obviously, there are some configuration problems that you will have to perform for your specific projects ... but ... if you create your projects in a relative way, you will have to leave them in any folder on your web server and it should work ... however, if you are building projects with canonical paths, you will need to configure a root and a different port for each project if you want to run several projects on the same local computer (assuming you are using localhost / 127.0. 0.1)

Purely a matter of choice in this area.

+1
source

Here is the solution I was technically looking for, although we are also experimenting with the VM solution. This is for ColdFusion 7, 8, and 9.

1) Download and install Adobe JRun4 (Tomcat coming soon!) From the Adobe website (it will be Apache soon!). Install without a Windows service. We created the C: \ opt folder to store everything.

2) Download and install ColdFusion with J2EE configuration. We decided to use WAR.

3) Follow the instructions on the Adobe website to deploy ColdFusion for JRun. This is definitely a bit more complicated than any other installation.

4) MyEclipse has a version with a JRun connection for server management. Without this, you need to run the batch file to start and stop the JRun instance or use the built-in tool

5) Run up to localhost: 8300 and configure the administrator.

6) Create a CAR file from an existing CF server and import it into your Dev server using the CF package / CF deployment tools.

7) Now you can drag the folder "C: \ opt" to the network share. Any developer can participate. If you have mappings preconfigured at a standard location in the C: \ files for www, you do not need to configure mappings for web or CF admins. Otherwise, you will need to adjust.

+1
source

Source: https://habr.com/ru/post/1399447/


All Articles