scripting / drummerSupport

Support for Drummer users.
19 stars 0 forks source link

Day 2 #57

Open scripting opened 3 years ago

scripting commented 3 years ago

A place for comments and questions from new users.

jackbaty commented 3 years ago

Getting under way with Drummer has been a smooth, well-documented, and downright pleasant experience. Thanks for that. Using an outliner for blogging is a blast. http://oldschool.scripting.com/jackbaty/

I do have questions.

It's only been a couple days, but at some point I'm going to wonder about generating archives. Or search. Are there plans along those lines at all?

Is there any mechanism for "draft" status? In my use case, I'm planning to create a node each day titled "Minutiae" containing a running list of, well, minutiae. This probably doesn't make sense in the RSS feed until late in the day, even though I'll create it first thing each morning. Ideally, I could keep it as a draft until end of day.

I'd like my own domain, so I looked at using PagePark. The thing that stopped me was that, although the main blog view is rendered at the custom domain using PagePark, all the links still go to oldschool.scripting.com. See http://clueless.lucky.wtf for example. That gets me part of the way there, but isn't really the same as running the site at my own domain. To self-host, will it require running a copy of the whole suite? (oldschoolCMS, etc)?

Hope these questions belong here, but let me know if they're best sent elsewhere.

mistersugar commented 3 years ago

Is there any mechanism for "draft" status? In my use case, I'm planning to create a node each day titled "Minutiae" containing a running list of, well, minutiae. This probably doesn't make sense in the RSS feed until late in the day, even though I'll create it first thing each morning. Ideally, I could keep it as a draft until end of day.

I've used the Toggle Comment function under the Reorg menu to hide a node or post until I'm ready for it to go live. That way, I can publish other posts if those come ready sooner.

scripting commented 3 years ago

@jackbaty --

  1. What are you looking for in the way of archives?

  2. Draft status is something you do on your own. I have an outline called Worknotes that's private. I work on stuff there. When it becomes public I copy/paste it into a public-facing document. (Actually I see Anton has an even better idea.)

  3. If you can program in JS, then DrummerCMS is what you should use. Also I'll take the rest of the comment as a feature request.

  4. This is exactly the right place for this stuff. I asked for it in the change notes outline.

jackbaty commented 3 years ago

@jackbaty --

  1. What are you looking for in the way of archives?

I've always had some sort of list of posts. Makes it easy to scan and find older entries. Just a simple list of links with dates is plenty, like this on my other blog: https://baty.blog/archives/ or https://archive.baty.net/posts

  1. Draft status is something you do on your own. I have an outline called Worknotes that's private. I work on stuff there. When it becomes public I copy/paste it into a public-facing document. (Actually I see Anton has an even better idea.)

Toggling comments or copy/paste works fine for me, thanks.

  1. If you can program in JS, then DrummerCMS is what you should use. Also I'll take the rest of the comment as a feature request.

Thanks. I've avoided doing anything significant in JavaScript for a long time. Drummer may be a tipping point for me, though. Not just for hosting; the scripting component of Drummer alone is enough to get me interested.

Thanks for all the comments and support.

dcoletta commented 3 years ago

I got a lot further!

I signed up for Digital Ocean -- thanks for the referral. I'm really impressed with them so far.

I got PagePark running there on localhost:1339 and :80

Here's where I'm stuck now. If I do this as per instructions: {"s3ServeFromPath": "/oldschool.scripting.com/david_coletta"} then PagePark says: s3ListObjects: error == Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1

If I do this: {"urlSiteContents": "http://oldschool.scripting.com/david_coletta"} then I get 404s.

mistersugar commented 3 years ago

Friendly reminder to all new users of Drummer - use the "Download my files" function in the Tools dropdown to save a backup of your outlines. I do this daily. If you write a lot especially on the blog, this is especially important.

dcoletta commented 3 years ago

This actually worked:

{
  "mirrors": {
    "/": "http://oldschool.scripting.com/david_coletta"
  }
}

But I don't imagine it's actually the right way to do it.

scripting commented 3 years ago

@dcoletta -- what's the url of the server so I can try it out here?

dcoletta commented 3 years ago

@dcoletta -- what's the url of the server so I can try it out here?

http://blog.colettas.org is the URL. And it's now working but only because of that mirrors directive. LMK if you want me to put it back to the S3ServeFromPath setting.

scripting commented 3 years ago

@dcoletta -- it's not actually working, because we don't catch the urls underneath the home page.

i'm going to have to spend some time thinking about how i want this to work. we will get this working, but it might take a while.

sorry to mislead you, but for now -- i guess -- we can only offer hosting at oldschool.scripting.com.

wish it were otherwise. ;-(

dcoletta commented 3 years ago

Yeah, I figured that using mirrors was not actually the right way to go, for just that reason. But... could it be a temporary workaround for me to list all the files (rss.xml, rss.json, etc.) individually under mirrors?

scripting commented 3 years ago

That's not going to help, because the problem is that we're generating links into oldschool.scripting.com.

Somehow we need to get the CMS to generate links into your server.

Sounds easy but it's not, because there are a number of layers of software here, and we have to keep this running while everyone else builds their sites, etc.

There is another option that's a big more ambitious (for you), which involves running DrummerCMS on your $5 linux server. It's the actual software we run to build your site. You'd configure it to generate the site you want with the content stored where you want it. It's the most direct simplest answer to the question. No jury-rigging, or magic config options. It'll do exactly what you want and you'll have a nice static site too.

Take a look at that, and think about it. There are absolutely docs for setting it up, but I don't mind writing docs.

dcoletta commented 3 years ago

If you write some docs, I will try setting up drummerCms on my DO box!

On Mon, Oct 11, 2021 at 3:17 PM Dave Winer @.***> wrote:

That's not going to help, because the problem is that we're generating links into oldschool.scripting.com.

Somehow we need to get the CMS to generate links into your server.

Sounds easy but it's not, because there are a number of layers of software here, and we have to keep this running while everyone else builds their sites, etc.

There is another option that's a big more ambitious (for you), which involves running DrummerCMS https://github.com/scripting/drummerCms on your $5 linux server. It's the actual software we run to build your site. You'd configure it to generate the site you want with the content stored where you want it. It's the most direct simplest answer to the question. No jury-rigging, or magic config options. It'll do exactly what you want and you'll have a nice static site too.

Take a look at that, and think about it. There are absolutely docs for setting it up, but I don't mind writing docs.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/scripting/drummerSupport/issues/57#issuecomment-940376251, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJLU7WQJ2RWB7WIUZ5F5LUGMZ33ANCNFSM5FYFKM2A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--

_____ Schedule a 30-min https://calendly.com/dcoletta/meet-30 or 60-min https://calendly.com/dcoletta/meet-60 meeting with me!

yudel commented 3 years ago

I'm interested in exploring the possibility of using Drummer as a front-end to my existing WordPress blog.

Could you point me to commands I would use to issue a REST command to WordPress and to store the resulting UID back as a variable to the outline node for making later updates?

yudel commented 3 years ago

Okay, found a bug. Running Chrome on Win 10, I'm not able to select part of a line to copy it; I can only select the entire node.

On Firefox, it works the way I expected it to.

dcoletta commented 3 years ago

@scripting Yesterday I installed drummerCMS onto my Digital Ocean droplet. I think the installation went fine. It is also failing with the same AWS credentials errors when I call it from Drummer's build command, but I suspect that all I need is a couple of clues about how to configure AWS!

In the meantime, since I kind of want to get blogging, I am thinking maybe the thing to do is for me to configure PagePark to simply redirect from blog.colettas.org to my oldschool URL as a stopgap.

scripting commented 3 years ago

@dcoletta -- I want you to start blogging too, but I am kind of inundated right now with people needing help. I want to work on this later today.

I suggest you start writing and publish on oldschool.scripting.com, you will be able to rebuild that stuff for your own location pretty soon.

scripting commented 3 years ago

@yudel -- you're going to have to take the first steps in your exploration on your own. there is no glue for wordpress, so don't bother looking for that. but please show more initiative, this is not going to be a hand-holding environment. i'm spread too thin, and I have rules about how much I can work in any given day. use my time wisely. thanks.

yudel commented 3 years ago

Ah -- I found http://docserver.scripting.com, which has what I need. The DocServer function in the Docs menu opened up a search function rather than linking to the actual docs.

scripting commented 3 years ago

@dcoletta -- I wrote a set of instructions for setting up your $5 server so that a Node app can write to S3 via the Amazon API.

http://scripting.com/drummer/blog/2021/10/12/154342.html?title=setupAUnixSystemForNodeAppsThatWriteToS3

Hopefully that should get you over this hurdle.

I'm still going to take a look at writing a howto for drummerCms.