Straightforward installation instructions

81 views
Skip to first unread message

Carl Youngblood

unread,
Jul 24, 2010, 3:10:01 AM7/24/10
to Parchment
I've looked at the source code on git and can't seem to find any
installation instructions. I would like to host my own local copy of
parchment along the lines of parchment.toolness.com on my home machine
with my old infocom games. Can I simply throw it into a directory and
browse to some file, or is it more involved than that? And why the
heck isn't this in a README at the root of the project?

Thanks,
Carl

Dannii

unread,
Jul 24, 2010, 8:11:41 AM7/24/10
to Parchment
Sorry there aren't better instructions... it's just not a big
priority, and few people ask. The main use of Parchment is through our
website (or now through the Inform 7 package.)

Check out this page for more instructions for local use:
http://community.livejournal.com/gnusto/20707.html

I can't find the code for parchment.toolness.com, though I though Atul
had put it online somewhere... can you remember where Atul?

mick crane

unread,
Jul 24, 2010, 10:27:07 AM7/24/10
to parc...@googlegroups.com

I've installed it locally. it's not too hard to figure out :-)


mick crane

unread,
Jul 24, 2010, 10:38:45 AM7/24/10
to parc...@googlegroups.com
> I've installed it locally. it's not too hard to figure out :-)

my memory is terrible.
in your webserver space eg /var/www/html/parchment
put
parchment.html
parchment.css
/src
/lib
and you want
zcode2js.py

make a story in inform7 and type
python zcode2js.py story.zblorb > story.js

put that in /var/www/html/parchment
make all the permissions sensible

then type in browser
http://turnip.home/parchment/parchment.html?story=story.js


I think thats it.


mick crane

unread,
Jul 24, 2010, 10:40:40 AM7/24/10
to mick....@gmail.com, parc...@googlegroups.com

On Sat, July 24, 2010 3:38 pm, mick crane wrote:

> http://turnip.home/parchment/parchment.html?story=story.js
ooops turnip.home= yourserver

Carl Youngblood

unread,
Jul 27, 2010, 8:56:58 AM7/27/10
to parc...@googlegroups.com
THanks Mick. Just to clarify, will this work on a story that is made in older inform versions?





--
You received this message because you're subscribed to the Parchment Google Group. http://groups.google.com/group/parchment

Carl Youngblood

unread,
Jul 27, 2010, 9:18:19 AM7/27/10
to parc...@googlegroups.com
OK, so I have done this and just get a blank screen. View source reveals a normal-looking parchment installation:


All requested files (except favicon.ico) seem to be delivered successfully in the server logs:


So I'm initially at a loss as to why it's not working. Will continue to investigate. If anything comes to mind on your end, let me know.

Thanks,
Carl

Tustin2121

unread,
Jul 27, 2010, 5:20:35 PM7/27/10
to Parchment
This is likely because parchment is currently broken. See if Dan or
anyone else who recently changed things has the time to look into it.

Alternatively, you could pull from an older revision of git and hope
that works...

Tustin2121

On Jul 27, 9:18 am, Carl Youngblood <c...@youngbloods.org> wrote:
> OK, so I have done this and just get a blank screen. View source reveals a
> normal-looking parchment installation:
>
> http://gist.github.com/492203
>
>  <http://gist.github.com/492203>All requested files (except favicon.ico)
> seem to be delivered successfully in the server logs:
>
> http://gist.github.com/492205
>
> <http://gist.github.com/492205>So I'm initially at a loss as to why it's not
> working. Will continue to investigate. If anything comes to mind on your
> end, let me know.
>
> Thanks,
> Carl
>
> On Tue, Jul 27, 2010 at 2:56 PM, Carl Youngblood <c...@youngbloods.org>wrote:
>
>
>
> > THanks Mick. Just to clarify, will this work on a story that is made in
> > older inform versions?
>

Carl Youngblood

unread,
Jul 27, 2010, 5:30:48 PM7/27/10
to parc...@googlegroups.com
Broken code checked into master? Cue pointy-haired coding horror guy.
:P Thanks for the advice.

Would be nice to set up continuous integration and some basic
integration tests. Since parchment is javascript, it would technically
be possible to check on the app status using a static web site,
although it would probably not be possible to send out notification
emails.

Dannii

unread,
Jul 27, 2010, 6:25:43 PM7/27/10
to Parchment
master is actually kind of broken, though it's the UI and nothing
critical. But you're using mastertemp which shouldn't have any
problems as far as I know.

Anything in your browser error logs?

Can you use Inform 7 to generate the webpage?

On Jul 28, 7:30 am, Carl Youngblood <c...@youngbloods.org> wrote:
> Broken code checked into master? Cue pointy-haired coding horror guy.
> :P  Thanks for the advice.
>
> Would be nice to set up continuous integration and some basic
> integration tests. Since parchment is javascript, it would technically
> be possible to check on the app status using a static web site,
> although it would probably not be possible to send out notification
> emails.
>

Atul Varma

unread,
Jul 27, 2010, 7:21:41 PM7/27/10
to parc...@googlegroups.com
On Tue, Jul 27, 2010 at 2:30 PM, Carl Youngblood <ca...@youngbloods.org> wrote:
Would be nice to set up continuous integration and some basic
integration tests. Since parchment is javascript, it would technically
be possible to check on the app status using a static web site,
although it would probably not be possible to send out notification
emails.

One of the things I've been wanting to set up is integration with Test Swarm, but I haven't gotten around to it:


- Atul

Carl Youngblood

unread,
Jul 28, 2010, 7:37:09 AM7/28/10
to parc...@googlegroups.com
Nope, no bugs in firebug. Not sure what you mean by "generate the webpage" with inform 7. I haven't used inform before--does it now have parchment integration? Are you suggesting I use it instead of zcode2js.py?

Dannii

unread,
Jul 28, 2010, 11:25:01 AM7/28/10
to Parchment
It allows you to make a custom parchment setup for a single game,
which probably isn't what you want...

Have you uploaded it yet? Or will it be only for local access?

On Jul 28, 9:37 pm, Carl Youngblood <c...@youngbloods.org> wrote:
> Nope, no bugs in firebug. Not sure what you mean by "generate the webpage"
> with inform 7. I haven't used inform before--does it now have parchment
> integration? Are you suggesting I use it instead of zcode2js.py?
>

Carl Youngblood

unread,
Jul 28, 2010, 4:41:22 PM7/28/10
to parc...@googlegroups.com
It will be for local access only. I'm not in a major hurry. Are you planning on fixing mastertemp soon? Also, what does mastertemp mean?

Dannii

unread,
Jul 28, 2010, 8:21:38 PM7/28/10
to Parchment
Could you zip it up and email it to me then?

Mastertemp is a temporary master branch until I can fix the (non-
fatal) UI problems of the master branch and merge it back in.
Mastertemp isn't broken.

On Jul 29, 6:41 am, Carl Youngblood <c...@youngbloods.org> wrote:
> It will be for local access only. I'm not in a major hurry. Are you planning
> on fixing mastertemp soon? Also, what does mastertemp mean?
>

Carl Youngblood

unread,
Jul 29, 2010, 4:50:43 AM7/29/10
to parc...@googlegroups.com
OK, I sent you an email.

Dannii

unread,
Jul 30, 2010, 12:50:57 AM7/30/10
to Parchment
My apologises everyone, I obviously did not test my last commit, and
left out a change. The new mastertemp branch should work now.

Carl Youngblood

unread,
Jul 30, 2010, 4:44:02 AM7/30/10
to parc...@googlegroups.com
Awesome. It works!

On Fri, Jul 30, 2010 at 6:50 AM, Dannii <curiou...@gmail.com> wrote:
My apologises everyone, I obviously did not test my last commit, and
left out a change. The new mastertemp branch should work now.

--

Carl Youngblood

unread,
Jul 30, 2010, 4:48:58 AM7/30/10
to parc...@googlegroups.com
Oops. Spoke too soon. It now loads, but I can't type anything at the cursor.

mick crane

unread,
Jul 30, 2010, 10:09:28 AM7/30/10
to parc...@googlegroups.com

On Fri, July 30, 2010 9:48 am, Carl Youngblood wrote:
> Oops. Spoke too soon. It now loads, but I can't type anything at the
> cursor.
me too


mick

Dannii

unread,
Jul 30, 2010, 9:32:03 PM7/30/10
to Parchment
Grr. Sorry, I'll fix that too.

Really need better testing habits... obviously it's not enough to just
test whether a game loads...

Dannii

unread,
Jul 30, 2010, 9:53:21 PM7/30/10
to Parchment
Okay most input works. Special keys don't.

mick crane

unread,
Jul 31, 2010, 7:27:34 AM7/31/10
to parc...@googlegroups.com

On Sat, July 31, 2010 2:53 am, Dannii wrote:
> Okay most input works. Special keys don't.
backspace doesn't work

Reply all
Reply to author
Forward
0 new messages