Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running PagePark on Glitch #20

Open
andrewshell opened this issue Jul 2, 2021 · 4 comments
Open

Running PagePark on Glitch #20

andrewshell opened this issue Jul 2, 2021 · 4 comments

Comments

@andrewshell
Copy link

andrewshell commented Jul 2, 2021

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 andrewshell changed the title RFC: Running PagePark on Glitch Running PagePark on Glitch Jul 3, 2021
Repository owner deleted a comment from rjeffries Jul 4, 2021
@scripting
Copy link
Owner

I deleted an off-topic comment.

@andysylvester
Copy link

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!

@andrewshell
Copy link
Author

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

@dcoletta
Copy link

dcoletta commented Oct 10, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants