The application needs Arduino IDE and Arduino-Makefile.
Install Arduino IDE by download the latest version for you platform here, then extract or install it.
Install Arduino-Makefile by clone the latest version from github with the following command:
git clone https://github.com/sudar/Arduino-Makefile.git
Install the application itself using the following command:
npm i git+https://github.com/Orientsoft/borgnix-cloud-ide.git
Check your public
folder for a directory named vendor
, if none exists, run:
gulp install
You HAVE TO change the config file before you start using the application.
Open config/config.json
, replace the default values with your actual settings. Please use ABSOLUTE PATH.
- arduinoDir: the path to you Arduino IDE, for osx the path may be
/Applications/Arduino.app/Contents/Java
. - arduinoMkDir: the path to your Arduino-Makefile directory.
- projectRoot: the directory to store user projects.
- uploadDir: the directory to store files uploaded by users.
- arduinoLibs: the directory to store libraries shared by all users.
- singleUser: whether to use single user mode or not.
- session: sessions management options, see SESSION for details.
- secret: secret key for sessions.
- store: session store options.
- for redis:
{
"type": "redis",
"host": "localhost", //your redis host
"port": 6379, //your redis port
"pass": "password", //password for redis, if any
"prefix": "sessions:" //prefix for redis keys
}
See routes/auth.js
and routes/single.js
for details
To start the server, run:
npm start
Then open http://127.0.0.1:3001
in your browser to use the client.
You can change the port settings in bin/www
- Improve UI design and details
- Show files in sub-directory in
ProjectManager
Create a new project using a template projectUser validation- [BUG] When a project is deleted, the project select field and the editor show different project