./configure
, followed by make all install
or variations thereof. Be sure to check where files will be installed, e.g. by inspecting the Makefile. You don't want to install in /usr/bin. Also, make sure you have the actual source, not some unpacked Linux package.# pkg install npm
$ mkdir ~/brackets
$ cd brackets
$ mkdir root data
$ npm install node-ide@1.4.0-1
$ npm install path http
$ cd node_modules
var path =require("path"),
http =require("http"),
brackets =require("node-ide/lib/server"),
server = http.createServer(function(req,res){});
var options ={
httpRoot:"/brackets",
projectsDir: path.join(__dirname,"..","root"),
supportDir: path.join(__dirname,"..","data"),
allowUserDomains:false,
};
brackets(server, options);
server.listen(9092);
console.log("You can access Brackets on http://localhost:9092/brackets/")
node startbracket
and open the link with your browser. npm install node-ide@1.4.0-1
command install the node-ide package with a given version (I had to give the version otherwise I got error messages). The startbracket file is just a Node.js script that uses the node-ide package. But we also see on top of the script that it requires two other packages : http and path. It is why we need the second npm install path http
command. Note that the two commands are executed as normal user.projectsDir: path.join(__dirname,"..","root"),
supportDir: path.join(__dirname,"..","data"),
The FreeBSD consistent path can set with the optionHave you already unpacked the source? In that case, look for a README or INSTALL file. Usually you would run./configure
, followed bymake all install
or variations thereof. Be sure to check where files will be installed, e.g. by inspecting the Makefile. You don't want to install in /usr/bin. Also, make sure you have the actual source, not some unpacked Linux package.
./configure --prefix=/usr/local
. make
, it will really require gmake
, which can be installed with pkg install gmake
or from the port devel/gmake.In the same look and feel, there is Atom developped by GitHub which is not on the port tree but still provides instruction to install it on FreeBSD.Maybe I should look for another application.