Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issues accessing the (forge-environment) from OSX command line

I'm following the Trigger.io Forge tutorials and I can't get to work properly from the command line on OSX 10.8.

Using the terminal and the Forge tutorials, I go to the forge-workspace folder and type this into the terminal:

$HOME/Library/Trigger\ Toolkit/forge create 

and get this back:

Matts-MacBook-Pro:forge-workspace mattm$ $HOME/Library/Trigger\ Toolkit/forge create
[   INFO] Forge tools running at version 3.3.17
[   INFO] Update result: you already have the latest tools

This name is what your application will be called on devices. You can change it later     through config.json.
App Name: Weather App
[   INFO] Registering new app "Weather App" with trigger.io...
[   INFO] Fetching initial project template
[   INFO] Building app for the first time...
[   INFO] Update result: you already have the latest tools
[   INFO] App structure created. To proceed:
[   INFO] 1) Put your code in the "src" folder
[   INFO] 2) Run forge build to make a build
[   INFO] 3) Run forge run to test out your build
Matts-MacBook-Pro:forge-workspace mattm$ 

The tutorial says:

At this point, you should have a command terminal open that looks something like:

(forge-environment)

But this doesn't show up. Plus, when I look in my library directory(and do a systemwide search), I don't see any folders labeled Trigger.

And when I try to follow the tutorial directions and do stuff like use the forge create command, nothing happens:

Matts-MacBook-Pro:hello-world mattm$ forge create</p>
-bash: forge: command not found

Matts-MacBook-Pro:hello-world mattm$ $forge create</p>
-bash: create: command not found

Before you ask, yes I installed Python and am able to build and run the app using the Forge browser interface.

Any idea what I'm missing?

like image 253
Matt Mireles Avatar asked Oct 01 '12 23:10

Matt Mireles


People also ask

Why my conda is not working?

Method 1: Updating Anaconda to the latest version Access your start menu in the bottom-left corner and search for “anaconda“. Then, click on Anaconda Prompt. Wait until the process is complete, then close the Anaconda Prompt and open a CMD window. See if you're now able to run Conda commands.


1 Answers

On Mac OS X, add the following to your bash profile

export PATH=$PATH:/Applications/TriggerToolkit.app/Contents/MacOS/
like image 123
John Clarke Mills Avatar answered Sep 18 '22 12:09

John Clarke Mills