pagePark icon indicating copy to clipboard operation
pagePark copied to clipboard

Running PagePark on Glitch

Open andrewshell opened this issue 4 years ago • 4 comments

Initial Setup

  1. Signup or Login to at https://glitch.com/
  2. Scroll to the bottom of the page that says “Manage Your Projects” and in the box that says “Import from Github” paste (without quotes) “https://github.com/scripting/pagePark.git” and click “Let’s go.”
    • If you already have projects you may need to click "Your a member" next to the "Projects" header
  3. It will show a screen "Loading Project", it can take a minute or so to get loaded.
  4. After loading you’ll see a screen with a list of files & directories down the left side. If you click on “Show” in the header then “In New Window” you’ll see a new window come up that says “The file was not found.” This is because you haven’t configured this domain yet. Take note of the domain you’ve been assigned.

Configure Domain

  1. Going back to the prior window, take note of the list of files. This is incomplete. On startup, PagePark creates a config.json file and a domains folder.
    • For whatever reason Glitch does not refresh the listing and show these files. If you leave Glitch and come back in a few minutes the cache will have expired and you’ll get an updated listing.
    • However, you can still configure your new domain.
  2. Click “New File” and type in (without quotes) “domains/default/index.md”, then click “Add This File.”
  3. Type something in the right pane like “# Welcome!” then go back to the tab with your domain in it and it should now say “Welcome” on the screen.

andrewshell avatar Jul 02 '21 21:07 andrewshell

I deleted an off-topic comment.

scripting avatar Jul 04 '21 17:07 scripting

I followed the instructions on this issue, and was able to see the "Welcome!" message at my Glitch URL (https://glaze-coconut-cartwheel.glitch.me/) - good instructions!

andysylvester avatar Jul 04 '21 17:07 andysylvester

Here is an OPML version of the instructions hosted with PagePark. http://glitch-howto.shll.me/index.opml

andrewshell avatar Jul 07 '21 17:07 andrewshell

I just tried these instructions, and ran into a JS syntax error comiong out of dateformat.js in the dateformat library. I am guessing this is the same issue DW ran into and blogged about. Not sure how to fix.

dcoletta avatar Oct 10 '21 22:10 dcoletta