ColdBox Elixir
v3.x
v3.x
  • Introduction
  • Changelog
  • Migration Guide
  • Installation
  • Running Elixir
  • Configuration Options
  • Working With Stylesheets
  • Working With Scripts
  • Versioning Cache Busting
  • Mixing in tasks from ColdBox Modules
  • ContentBox Integration
  • Copying Files & Directories
  • Deleting Files & Directories
  • Environment Variables
  • BrowserSync
  • Vue.js Integration
  • Writing Elixir Extensions
Powered by GitBook
On this page
  • Installing Node
  • Installing ColdBox Elixir
Edit on Git

Installation

Installing Node

Before triggering Elixir, you must first ensure that Node.js is installed on your machine. You will want at least the latest LTS version of Node.

node -v

Installing ColdBox Elixir

If you generate a ColdBox application using any of our elixir templates then you will find a package.json file in the root of the application already. Think of this like your box.json file, except it defines Node dependencies instead of ColdFusion (CFML) dependencies. A typical example can look like this:

{
  "private": true,
  "devDependencies": {
    "coldbox-elixir": "^3.0.0"
  }
}

It defines ColdBox Elixir as a dev dependency. You may then install the dependencies it references by running:

npm install

This will install ColdBox Elixir and its dependencies into the node_modules folder in your root. This folder has been already added to the .gitignore file as well, so no need to further ignore it.

PreviousMigration GuideNextRunning Elixir

Last updated 7 years ago