Open brandon-toner opened 3 years ago
Next steps: • Create a server on Glitch • Map my personal domain to that server
Not sure which of these I need to choose... My best guess is node.js minimal. (But I'm not sure what the difference is between minimal and "hello node")
Gonna open both and see what the differences are.
Brandon you definitely want node. Can you install it without either of the two of starter (remix) apps? You just want plain old node.
<pardon the traffic here, I'm going to document much of my thinking and steps>
1) Went to https://www.cira.ca/ thinking that was my domain registry (.ca), but realized it's probably namecheap.com. 2) Went to namecheap.com, and "redirected" brandontoner.ca to my current page location (for an interim measure)
Next: Play around with Glitch then figure out how to: 1) Upload PagePark to that server 2) Map my domain to that server
Ahh! This looks promising.
Ok, mapped using a CNAME, I think.
Ok that worked!! (The default program when I created the server loaded when calling my domain)
Ok, now I need to load PagePark onto the server — that part I don't know how to do.
Brandon, I don’t think you load pagepark, I think you point glitch at the GitHub repo for pagepark.
Ohhhh, that make sense. How do I do that?
I have a little time now to look into this.
https://github.com/scripting/Scripting-News/issues/168
That's a thread where I was asking for (and getting) help with glitch, from april 2020.
On Sun, Jun 20, 2021 at 4:30 PM brandon-toner @.***> wrote:
Ohhhh, that make sense. How do I do that?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scripting/Scripting-News/issues/210#issuecomment-864607801, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM32OYXTKZVM2QVRXBI6H3TTZFUVANCNFSM47AGAWTA .
Brandon, here's a link to my running PagePark server.
Brandon, I think this link will let you edit my project, please just look, and I think there will also be a button where you can "remix" it, that is copy my project and make it your own.
https://glitch.com/edit/#!/pagepark
If you get it running you should have a running PagePark.
Then you can do the thing with the CNAME, and create a sub-folder of the domains folder with the name of your domain, put an OPML file in there, and you're on the air.
Then, later -- tomorrow probably, we'll set up a config.json file in your domain folder that will tell PP where to find the actual OPML file you want to server, that will be on the littleoutliner.com domain.
I added a link to this thread from scripting.com.
Success! (I have the Little Outliner OPML file in my domain folder)
What’s the url of your new site?
Is that pointing to your glitch site?
Yup, should be. I have some placeholder HTML there now while I figure out how to connect it to Little Outliner.
Good. I’ll help figure that out in the morning. 😀
Good morning Brandon! ;-)
I have the next step for you and it's very easy, and hopefully it works.
That's it, you should be ready to go.
If you want to read about other things you can do in config.json, check out the configuring page on the PagePark site.
Please let me know how it goes.
Great! Added the config.json file and successfully displayed the driveway.
I'm back on that work network where Little Outliner is being blocked, so I'll try to add the public link once I'm on another network.
I suspect its the url that displays when I click "Get Public Link".
I suspect its the url that displays when I click "Get Public Link".
No that's something else.
Ah! Glad I clarified. Thanks.
Ok, did that. It's displaying the raw OPML file when I load http://brandontoner.ca.
How do I render it?
Brandon, we are in uncharted territory, I'm going to have to look into this might require a mode to PagePark. I'll let you know.
I like the sounds of uncharted territory. I'm guessing the PagePark can render an OPML file, but is not recognizing the url-based OPML generated by Little Outliner for live-syncing?
Some updates:
I'm guessing I did a few of these the "hard way":
Here's how it looks now:
An eventual goal would be to have the "Blog" hosted on this domain as well, with something similar to the Scripting News layout.
Key elements:
FYI -- I do my linkblog with radio3.io.
On Mon, Jun 21, 2021 at 5:15 PM brandon-toner @.***> wrote:
An eventual goal would be to have the "Blog" hosted on this domain as well, with something similar to the Scripting News layout.
Key elements:
- Blog
- Links Blog
- About
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scripting/Scripting-News/issues/210#issuecomment-865349161, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM32O22MSCI3CYKRYOORWLTT6TXXANCNFSM47AGAWTA .
there's a new version of pagepark that has the mirrors problem fixed.
replace your copy of pagepark.js with the new one.
https://github.com/scripting/pagePark/blob/master/pagepark.js
that's the only part in this release that changed.
you may have to puzzle it out because github and glitch are both new for you.
I now have the new version uploaded to Glitch. Getting an error on line 40.
that sucks. i can probably fix that pretty quickly.
OK there's a new version of pagepark.js with the "package" error fixed.
https://github.com/scripting/pagePark/blob/master/pagepark.js
It's odd, because I'm pretty sure that was in the previous version too.
Let me know how it goes.
line40 error is cleared, getting some on 655-666 (didn't notice whether they were present on the .18 version). They all read the same error message, x not defined.
There's a new pagepark.js in the repo.
While you're trying that I'll try running it on glitch.
I'm trying to run it on glitch and it's still getting errors, very weird ones.
I thought I had it running here, not sure what's going on.
On Tue, Jun 22, 2021 at 3:42 PM brandon-toner @.***> wrote:
line40 error is cleared, getting some on 655-666 (didn't notice whether they were present on the .18 version)
[image: image] https://user-images.githubusercontent.com/67168828/122988934-a7390400-d378-11eb-8eb3-e5bc3258b848.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scripting/Scripting-News/issues/210#issuecomment-866280276, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM32OY7YWFRE3OPCBASI53TUDRRHANCNFSM47AGAWTA .
I got it to run sort of -- I had to change the package.json file.
At the very end, under "engines" for node, I changed it from * to 14.x.
"engines": {
"node": "14.x"
}
Then it ran without errors, but the home page didn't show up properly.
Something very weird is going on, I'll try to figure out what it's going to take to get pagepark to run here again properly.
Brandon, I gathered my thoughts on Glitch this morning..
http://scripting.com/2021/06/23/145559.html?title=revisitingGlitchAYearLater
You can skip to the end, but I think the rest of it is worth reading. Digital Ocean may be a better long-term option, and their docs are excellent, and their systems are standard and reliable.
Brandon, I just spent another 1/2 hour tinkering with PP on Glitch, and it just doesn't work reliably, and I don't have the tools (or time) I need to figure out why.
Hmm — good to know! I'll start looking into Digital Ocean and other serving options.
Someone had suggested checking out GitHub Pages as an option for hosting — I also plan to look into this a bit.
How would you get the LO2 outlines onto GitHub?
On Wed, Jun 23, 2021 at 1:04 PM brandon-toner @.***> wrote:
Someone had suggested checking out GitHub Pages https://pages.github.com/ as an option for hosting — I also plan to look into this a bit.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scripting/Scripting-News/issues/210#issuecomment-867010089, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM32O3R5BN7AIZUJUT3JVDTUIH3FANCNFSM47AGAWTA .
Mirroring is not an option in that case? (As we were doing on Glitch)
When you use GitHub Pages you're using their web server, not PagePark.
Their server doesn't have the mirrors feature, it certainly can't render OPML in any nice way.
I have asked them to do it, btw. Eventually I'm sure they will. But not yet.
On Wed, Jun 23, 2021 at 1:29 PM brandon-toner @.***> wrote:
Mirroring is not an option in that case? (As we were doing on Glitch)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scripting/Scripting-News/issues/210#issuecomment-867025384, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM32O6CFGHLDI5VAF7POWLTUIKVXANCNFSM47AGAWTA .
Ah, unfortunate. So that likely narrows down to Digital Ocean as the next step. A worthwhile expense — I'll go for it.
I've created an account on Digital Ocean — I'm finding that platform a bit more challenging to get oriented with.
Steps completed:
I took a pass through some of their docs — but couldn't quite get off the ground with setting up the node.js server like on Glitch.
Brandon, why don't I just set up your domain here, using a mirror, until we get to a place where it's easy for you to do your own.
I think we're wasting a bunch of time, both of us, when there's a much easier path available.
On Wed, Jun 23, 2021 at 5:42 PM brandon-toner @.***> wrote:
I've created an account on Digital Ocean — I'm finding that platform a bit more challenging to get oriented with.
Steps completed:
- Account created on Digital Ocean
- Domain pointed to Digital Ocean
I took a pass through some of their docs — but couldn't quite get off the ground with setting up the node.js server like on Glitch.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scripting/Scripting-News/issues/210#issuecomment-867181081, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM32O3JXIMTOZAIB5VA6D3TUJIMZANCNFSM47AGAWTA .
Brandon, why don't I just set up your domain here, using a mirror, until we get to a place where it's easy for you to do your own. I think we're wasting a bunch of time, both of us, when there's a much easier path available.
Yup that sounds like a good plan. That would definitely help me to "get up and running" and "into the flow of it" without having to learn to much code/programming on the front-end.
Let's do it.
Currently working on getting setup with an outliner-style blog. Using this thread to post milestones and questions.