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

Questions about publicFolder? #3

Open
scripting opened this issue Sep 17, 2017 · 6 comments
Open

Questions about publicFolder? #3

scripting opened this issue Sep 17, 2017 · 6 comments

Comments

@scripting
Copy link
Owner

@scripting scripting commented Sep 17, 2017

I posted more info about publicFolder today on my blog as the Electron app is taking shape.

If you have questions -- here's a place to ask them.

@davisshaver

This comment has been minimized.

Copy link

@davisshaver davisshaver commented Sep 17, 2017

Fun to start playing with @scripting, I got the hello world running today.

screen shot 2017-09-17 at 2 36 23 pm

First gotcha was that relative path ~/Desktop/publicFolder didn't work but switched it to absolute path & all good now.

AWS config I had from an earlier project so this part "just worked". S3 was no problem though I agree with you about Amazon being smart to simplify the signup flows.

Biggest question I'm wondering at the minute, if I were to setup something like public.davisshaver.com & I wanted to manage from more than one computer... is there any safe way to do that? First idea jumps to mind is "disableRemoteDeletes" or something in the config but wondering what you thought.

@scripting

This comment has been minimized.

Copy link
Owner Author

@scripting scripting commented Sep 17, 2017

@davisshaver

This comment has been minimized.

Copy link

@davisshaver davisshaver commented Sep 17, 2017

Heh of course 💡 . Although I wouldn't mind phasing out Dropbox eventually. Only snag I see is if Dropbox fails to update before starting publicFolder but hopefully that's an unlikely occurrence.

@johkla

This comment has been minimized.

Copy link

@johkla johkla commented Feb 7, 2020

i apologise but i have looked everywhere and tried everything but i am unable to find a solution to PublicFolder not uploading my files. mind you i am not very smart. i am just trying to find something that works bit like a one way Dropbox for serving a static website.

image

i know the WatchFolder works and that my aws credentials are correct. (the same credentials work when i log into the aws console on the web.) so the problem must be with either :

  1. the location or format of the credentials.txt file. this file is stored in the .aws directory in my users directory i.e. ~/.aws and looks like this:

Screen Shot 2020-02-07 at 2 13 38 pm

  1. or with the settings nominated in the config.json file

Screen Shot 2020-02-07 at 2 23 43 pm

i have tried several versions of formatting the information in the credentials.txt file none of them solve the problem.

what am i doing wrong?
i'm pretty sure the problem must be that publicfolder is not able to communicate with s3
or am i looking in the wrong place?
any ideas much appreciated.
johannes

i also tried creating a new AIM user...

@johkla

This comment has been minimized.

Copy link

@johkla johkla commented Feb 9, 2020

thanks! this is the JSON file attached to the user/permissions...

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:GetAccessPoint",
"s3:PutAccountPublicAccessBlock",
"s3:GetAccountPublicAccessBlock",
"s3:ListAllMyBuckets",
"s3:ListAccessPoints",
"s3:ListJobs",
"s3:CreateJob",
"s3:HeadBucket"
],
"Resource": ""
},
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": "s3:
",
"Resource": "arn:aws:s3:::*"
}
]
}

@johkla

This comment has been minimized.

Copy link

@johkla johkla commented Feb 9, 2020

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.