webOS Nation Forums >  webOS Developers >  webOS Development > Public Working Ares 2 (+How To)
Public Working Ares 2 (+How To)
  Reply
Like Tree1Likes
  • 1 Post By alonhzn

 
Thread Tools Display Modes
Old 02/13/2013, 01:28 AM   #1 (permalink)
Member
 
alonhzn's Avatar
 
Posts: 124
Public Ares Link: Ares

All credits for adjusting the Ares code to launch from a server goes to Brandon from https://modulus.io/ who actually did it.

Now for the How To (This is only needed if you want to install your own Ares on your own server):
1. Open an account at modulus.io
2. Get Ares from https://github.com/enyojs/ares-project (Don't use the "ZIP" download as is because It's crucial that you get it recursively by: "git clone --recursive git@github.com:enyojs/ares-project.git") and extract it to your local computer.
3. add to the main directory a file called "package.json" that contain the following text:
Code:
{
  "name": "Ares",
  "version": "2.0.0",
  "description": "Ares",
  "author": "Enyo guys",
  "main": "ide.js",
  "dependencies": {
    "express": "2.5.8",
    "async": "0.1.22",
    "optimist": "0.3.5",
    "rimraf": "1.0.6",
    "temp": "0.4.0",
    "phonegapbuildapi": "1.0.1"
  },
  "engine": "node 0.8.x"
}
4. open the file ide.js from the main directory and Replace the line
Code:
var port = parseInt(argv.port, 10);
With the line
Code:
var port = parseInt(process.env.PORT, 10);
5. go to: https://www.dropbox.com/developers/apps and register a new "app". you will get an appKey and an appSecret codes that you need to enter into the file ide.json in your main directory
6. Delete the directory called "node_modules" from the main directory!
7. Zip the directory and upload it to your account at Modulus. That's it!

Known problems:
1. File system access not working
2. Dropbox can't access folders or files

Last edited by alonhzn; 02/14/2013 at 01:41 AM.
alonhzn is offline   Reply With Quote
Liked by Rnp likes this.
Thanked By: Isandunk
Old 02/13/2013, 11:23 AM   #2 (permalink)
pivotCE Developer
 
Posts: 2,187
arrgl just installed on my own laptop - but didn't get that cool template "bootplate 2.1.1" from the video:
Ares 2 gets a demo webcast all its own [video] | webOS Nation

Is that included?
__________________
Patch Enhancing vCard Export -|- Your own cloud with Zarafa (EAS sync) -|-
Tasks-app of 2.x on 3.x incl.EAS sync -|- SYM key in Enyo on phones -|- My hidden webOS Tips and Tricks - like it ?
gizmo21 is offline   Reply With Quote
Old 02/13/2013, 12:14 PM   #3 (permalink)
Member
 
GMMan's Avatar
 
Posts: 2,136
Bootplate should be separate, as it's basically a template app and not a part of Ares.
__________________
Contact: @GMMan_BZFlag (me on Twitter)
webOS Releases: Change your App Catalog country: TouchPad/PC | TouchPad/webOS Resources | Search suggestion patch for browser | Cycling Email Notifications | Don't Doctor! Make a good support request. | How to post logs | webOS Charge Monitor
GMMan is offline   Reply With Quote
Old 02/21/2013, 05:43 AM   #4 (permalink)
Member
 
alonhzn's Avatar
 
Posts: 124
I added the option to connect to DropBox and the log in process works fine. But there is some problem with the root or home folder path that prevents Ares from accessing the actual files
alonhzn is offline   Reply With Quote
Old 03/01/2013, 04:55 AM   #5 (permalink)
Member
 
Posts: 46
Nice one, a shame that it is not possible to connect your own dropbox account to it and use that file storage for it.
krushaaa is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0