Can someone help me get around the unavailable http://kan.so?

47 views
Skip to first unread message

Bill Wynne

unread,
Mar 19, 2014, 2:13:15 PM3/19/14
to ka...@googlegroups.com
I have cloned a git project that calls "kanso install".  Needless to say this fails with a timeout.  Is there a way around this issue?  Apparently the dependencies found in kanso.json files can't otherwise be satisfied?  This seems like a major issue for folks distributing couch apps?  Do I have alternatives?

Bill

Milan Andric

unread,
Mar 19, 2014, 3:08:54 PM3/19/14
to ka...@googlegroups.com
Bill, it's not a great alternative but you can clone the packages from the kanso GitHub site into your packages/ folder.  Thinking if the site remains unstable then we can setup a mirror of the entire kan.so site. But I have a feeling it will get migrated to some stable infrastructure soon. 

Milan

On Mar 19, 2014, at 3:13 PM, Bill Wynne <bll...@gmail.com> wrote:

I have cloned a git project that calls "kanso install".  Needless to say this fails with a timeout.  Is there a way around this issue?  Apparently the dependencies found in kanso.json files can't otherwise be satisfied?  This seems like a major issue for folks distributing couch apps?  Do I have alternatives?

Bill

--
You received this message because you are subscribed to the Google Groups "kanso" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kanso+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bill Wynne

unread,
Mar 19, 2014, 3:45:22 PM3/19/14
to ka...@googlegroups.com
Oh ok.  Thanks, Milan.  I will try that!  

Bill Wynne

unread,
Mar 19, 2014, 3:59:20 PM3/19/14
to ka...@googlegroups.com
That worked.  :)


On Wednesday, March 19, 2014 3:08:54 PM UTC-4, Milan Andric wrote:

Suraj Kumar

unread,
Mar 20, 2014, 12:35:14 AM3/20/14
to ka...@googlegroups.com, Caolan McMahon
Here is a possible direction: In lib/kansorc.js, there seems to be some notion of a kansorc file. Unfortunately kan.so is down and even cached results of google isn't showing what the kansorc file looks like. 

For the moment, I have made it work by:
1. replicating from http://kanso.iriscouch.com to a local DB instance
2. overriding the DEFAULTS section in lib/kansorc.js to refer http://my.site.com:5984/kanso

Caolan, if you could give tips on how to go about doing this right, it will be helpful.

--
An Onion is the Onion skin and the Onion under the skin until the Onion Skin without any Onion underneath.


_____________________________________________________________
The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. The firm is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.

Milan Andric

unread,
Mar 20, 2014, 11:04:21 AM3/20/14
to ka...@googlegroups.com
Suraj, to override the default repositories value just include a `repositories` property in your .kansorc file, for example:

exports = {
repositories: [
http://my.site.com:5984/kanso-packages”, "http://kan.so/repository"
],
env : {
default: “http://my.site.com:5984/myapp"
}
}

HTH,

Milan

Milan Andric

unread,
Mar 20, 2014, 11:12:21 AM3/20/14
to ka...@googlegroups.com
Correction:

exports = {
repositories: [
http://my.site.com:5984/kanso-packages”, "http://kan.so/repository"
],
env : {
default: {
db: “http://my.site.com:5984/myapp
},
dev: {
db: “http://my.site.com:5984/myapp-dev”,
overrides: { loglevel: “debug" }
}
}
}

--
Milan

Dereck Martin

unread,
Mar 26, 2014, 12:26:58 AM3/26/14
to ka...@googlegroups.com, Caolan McMahon
in lib/kansorc.js

Added:

        "http://kanso.iriscouch.com/repository"
       
Commented out:

        /** "http://kan.so/repository" **/


My problem is solved.

Luke Plaster

unread,
Mar 26, 2014, 4:55:56 AM3/26/14
to ka...@googlegroups.com, Caolan McMahon
I'm not getting a response from the iriscouch url and amending .kansorc yields no results here. Is there some magic involved in making that happen?

Milan Andric

unread,
Mar 26, 2014, 6:23:39 AM3/26/14
to ka...@googlegroups.com
Sorry Luke, the kan.so site is down at the moment, I believe a migration is in progress from iriscouch to cloudant.

One alternative is to get your packages directly from github https://github.com/kanso and install manually, most of the packages are there.  Unless of course you have your own packages repository which you can configure your .kansorc to point to.

Milan

Luke Plaster

unread,
Mar 26, 2014, 6:36:35 AM3/26/14
to ka...@googlegroups.com
Thanks - it's nice to know there might be a migration underway.

Milan Andric

unread,
Mar 26, 2014, 8:01:38 AM3/26/14
to ka...@googlegroups.com
Yea, hoping Caolan sees this so we can get a confirmation.
Reply all
Reply to author
Forward
0 new messages