[Coldbox 4.3.0] How to access coldbox relax?

24 views
Skip to first unread message

West

unread,
Sep 21, 2017, 9:58:47 PM9/21/17
to ColdBox Platform
Hi,

I'm using Coldbox 4.3.0.  I'm new to relax and came across on forgebox.  I downloaded and extracted the folder to my modules directory.   It looks like in the downloaded folder there is also a "modules" folder.   Something seems a bit off here as I have a "modules" folder already and now I have this  folder structure  "modules --> coldbox-relax-development -- modules -->

I've read the documentation and it's not quite clear on how to load the this in my browser.

Any help or guidance appreciated.

West

unread,
Sep 21, 2017, 10:12:01 PM9/21/17
to ColdBox Platform
Just to add what I tried:

http://dev.example.com/index.cfm/relax:home.index

The event: relax:home.index is not valid registered event.

I have a local hosts entry on my machine pointing 127.0.0.1 to "dev.example.com"

I'm guessing maybe a path/mapping issue?

br...@bradwood.com

unread,
Sep 21, 2017, 10:40:27 PM9/21/17
to col...@googlegroups.com
I think you may be making it harder than it is.  If this is a server you've started with CommandBox, these three commands are literally all you need to have relax installed, loaded, and in your browser:
 
install relax
coldbox reinit
server open /index.cfm/relax
 
You can omit the index.cfm if you're started your server with rewrites enabled.

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: br...@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com 
 
 
--------- Original Message ---------
--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/69582c6b-c58f-4504-81fa-220e1bf40fc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

br...@bradwood.com

unread,
Sep 21, 2017, 10:42:15 PM9/21/17
to col...@googlegroups.com
 
This is not a valid URL.  You're trying to mix SES urls with non-SES urls.  It would either be
 
 
Or, if you have rewrites enabled, just this:
 
 
Or if you didn't want to use SES, it would be this.
 
 
Warning though, I'm not sure Relax even works with non-SES URLs.  If you're building a REST API, it's kind of assumed that you've got SES enabled.
 
Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: br...@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com 
 
 
--------- Original Message ---------
Subject: [coldbox:26590] Re: [Coldbox 4.3.0] How to access coldbox relax?
From: "West" <malik.r...@gmail.com>
Date: 9/21/17 9:12 pm
To: "ColdBox Platform" <col...@googlegroups.com>

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.

West

unread,
Sep 21, 2017, 11:02:15 PM9/21/17
to ColdBox Platform
Thanks for the reply, I'm not using CommandBox (maybe I should be).  Do you have any recommendations given that I'm not?

br...@bradwood.com

unread,
Sep 21, 2017, 11:20:16 PM9/21/17
to col...@googlegroups.com
Well, even if you're not using CommandBox to start your servers, you should still use it to install dependencies.  When you say you want to a website somewhere, downloaded something, unzipped it, and copied some portion of it somewhere in your app I basically have no idea what you may have ended up doing :)  When you say, I ran "install relax" from the CLI, then I know exactly what you've got and all the human error and ambiguity is removed.  
--------- Original Message ---------

West

unread,
Sep 21, 2017, 11:53:32 PM9/21/17
to ColdBox Platform
Making sense... installing CommandBox now, thanks for the assistance.

Luis Majano

unread,
Sep 22, 2017, 10:32:55 AM9/22/17
to col...@googlegroups.com
All future and current modules for ColdBox are meant to be installed with the package manager commandbox.

We are moving away from manual downloads or installs of anything.

Luis Majano
CEO
Ortus Solutions, Corp

From: col...@googlegroups.com <col...@googlegroups.com> on behalf of br...@bradwood.com <br...@bradwood.com>
Sent: Thursday, September 21, 2017 7:39:53 PM
To: col...@googlegroups.com
Subject: RE: [coldbox:26590] [Coldbox 4.3.0] How to access coldbox relax?
 

Luis Majano

unread,
Sep 22, 2017, 10:34:12 AM9/22/17
to col...@googlegroups.com
Like I mentioned in my previous mail. We are no longer supporting manual installations of anything. We are leveraging commandbox for package management.

However, you can do it manually by downloading the binary produced by our build process from downloads.ortussolutions.com

Luis Majano
CEO
Ortus Solutions, Corp

From: col...@googlegroups.com <col...@googlegroups.com> on behalf of West <malik.r...@gmail.com>
Sent: Thursday, September 21, 2017 8:02:15 PM
To: ColdBox Platform
Subject: Re: [coldbox:26593] [Coldbox 4.3.0] How to access coldbox relax?
 
Reply all
Reply to author
Forward
0 new messages