Add documentation on how to setup local repository #110

Open
arikon opened this Issue Nov 28, 2012 · 5 comments

Comments

Projects
None yet
4 participants
@arikon

arikon commented Nov 28, 2012

The feature to use local repo is great!
But there are no docs how to set it up.

@ryanramage

This comment has been minimized.

Show comment
Hide comment
@ryanramage

ryanramage Nov 28, 2012

Collaborator

@arikon I just published this yesterday:

http://garden20.com/market/details/jam

Its a very easy to install local jam repo. Hope that helps you get started!

But yes, I agree that documenting all the ways to setup a local repo should be added to the docs section of the main website.

Collaborator

ryanramage commented Nov 28, 2012

@arikon I just published this yesterday:

http://garden20.com/market/details/jam

Its a very easy to install local jam repo. Hope that helps you get started!

But yes, I agree that documenting all the ways to setup a local repo should be added to the docs section of the main website.

@clexit

This comment has been minimized.

Show comment
Hide comment
Contributor

clexit commented Nov 30, 2012

@akoptsov

This comment has been minimized.

Show comment
Hide comment
@akoptsov

akoptsov Nov 30, 2012

@clexit your guide was most helpful.

The one thing that you didn't cover and which I didn't manage to do on my own was to make the frontend from

http://jamjs.org/repository/_design/jam-packages

work on my server

@clexit your guide was most helpful.

The one thing that you didn't cover and which I didn't manage to do on my own was to make the frontend from

http://jamjs.org/repository/_design/jam-packages

work on my server

@clexit

This comment has been minimized.

Show comment
Hide comment
@clexit

clexit Nov 30, 2012

Contributor

It's easy, I've just quickly scribbled one with Twitter Bootstrap. I can share it if anyone needs it.

You can work with jamjs through a simple server-side proxy.

Contributor

clexit commented Nov 30, 2012

It's easy, I've just quickly scribbled one with Twitter Bootstrap. I can share it if anyone needs it.

You can work with jamjs through a simple server-side proxy.

@clexit

This comment has been minimized.

Show comment
Hide comment
@clexit

clexit Nov 30, 2012

Contributor

@akoptsov You can use php proxy like

$data = json_encode( array() );
if ( isset( $_GET[ 'url' ] ) )
{
    $url = urldecode( trim( $_GET['url'] ) );
    $data = file_get_contents( $url );
}
print $data;

to get AJAX work with cross-domain requiests and then get data from local repository (probably the same domain) and from jamjs.org (cross-domain) through proxy, and show all resuts on one page.

Is it what you want?

Contributor

clexit commented Nov 30, 2012

@akoptsov You can use php proxy like

$data = json_encode( array() );
if ( isset( $_GET[ 'url' ] ) )
{
    $url = urldecode( trim( $_GET['url'] ) );
    $data = file_get_contents( $url );
}
print $data;

to get AJAX work with cross-domain requiests and then get data from local repository (probably the same domain) and from jamjs.org (cross-domain) through proxy, and show all resuts on one page.

Is it what you want?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment