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

Streamline local development setup #3

Open
AndrewSwerlick opened this issue Feb 28, 2023 · 2 comments
Open

Streamline local development setup #3

AndrewSwerlick opened this issue Feb 28, 2023 · 2 comments

Comments

@AndrewSwerlick
Copy link

I found this project through mastadon and I've been poking around the last few days. I have a few ideas that might help streamline getting other developers up and running that I've prototyped on my local branch. I'd be happy to submit a PR if you're interested. Specifically I've played with and considered

Let me know if what you think.

@kona314
Copy link
Owner

kona314 commented Mar 12, 2023

Apologies for the delay!

  1. Feel free to open a PR for this one, I have no objections. Mongo is used because it's used by activitypub-express, which powers this server, so I tapped into it for stored each feeds' seen alert IDs. Personally, I'm not a big fan on MongoDB and have opted for MySQL/Sequelize on other projects.
  2. Will push an update with this soon. I agree it's a little silly, I ended up doing all my testing via ngrok.
  3. My understanding of the ActivityPub spec is that this won't work. The DOMAIN env var controls what other servers as the hostname for the instance, so localhost would, uh, break some things. This is why, per a guide I found elsewhere, I use ngrok when testing locally, you can just start a session and use the generated URL as the DOMAIN value for its lifetime.

@kona314
Copy link
Owner

kona314 commented Mar 12, 2023

Second item handled in 632f9de, leaving issue open for the first item

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

2 participants