I am an Engineering Physics graduate from IIT Guwahati, but merely not restricted to Physics itself. In the past few years, I involved in many Cybersecurity blogging and now on Open-source.
I am an Engineering Physics graduate from IIT Guwahati, but merely not restricted to Physics itself. In the past few years, I involved in many Cybersecurity blogging and now on Open-source.
Dokku's postgress backup is attached with s3(you can also do this manually)
s3 has free tier of 1 year and very cheap image hosting plans. (Digital Ocean has competitive pricing too)
Presently(This might change in later date) => Forem is using s3_direct_upload ruby gem. So effectively you can also configure any object storage using it. (even digital ocean storage, but I never tested it)
I am an Engineering Physics graduate from IIT Guwahati, but merely not restricted to Physics itself. In the past few years, I involved in many Cybersecurity blogging and now on Open-source.
For you to effectively do this, all you have to do is => while configuring your s3 ENV variables, rather than using s3 credentials, you can use Digital Ocean Object storage credentials.
I am an Engineering Physics graduate from IIT Guwahati, but merely not restricted to Physics itself. In the past few years, I involved in many Cybersecurity blogging and now on Open-source.
You need to configure all these ENV variables.
AWS_ID=
AWS_SECRET=
AWS_BUCKET_NAME=
AWS_UPLOAD_REGION=
And for those values you need to create a space in digital ocean, not just your VPS. Use this like to know more about spaces.
Also, first try to understand a bit more about Forem, rather than focusing just on making it live. If you want to self-host Forem, knowing about is important. Or else you can wait for a while and launch your Forem using Forem-Cloud(I'm expecting that Forem might release a premium hosting plan of their own)
Aws id to do api id
Aws secret to do api secret key
Aws bucket name to do bucket name
Aws upload region which one is need to update
Nyc3 or nyc3.digitaloceanspaces.com
I am an Engineering Physics graduate from IIT Guwahati, but merely not restricted to Physics itself. In the past few years, I involved in many Cybersecurity blogging and now on Open-source.
My error
I updated the post with post-installation instructions. Check it to resolve your issues.
Really thanks
Is there any ways to host images in digital ocean
Configuring s3 will make a lot of things easy.
Presently(This might change in later date) => Forem is using s3_direct_upload ruby gem. So effectively you can also configure any object storage using it. (even digital ocean storage, but I never tested it)
For you to effectively do this, all you have to do is => while configuring your s3 ENV variables, rather than using s3 credentials, you can use Digital Ocean Object storage credentials.
Is need to set AWS_ID to digital ocean key
AWS_SECRET = digitalocean api secret key
Is correct?
You need to configure all these ENV variables.
AWS_ID=
AWS_SECRET=
AWS_BUCKET_NAME=
AWS_UPLOAD_REGION=
And for those values you need to create a space in digital ocean, not just your VPS. Use this like to know more about spaces.
Also, first try to understand a bit more about Forem, rather than focusing just on making it live. If you want to self-host Forem, knowing about is important. Or else you can wait for a while and launch your Forem using Forem-Cloud(I'm expecting that Forem might release a premium hosting plan of their own)
Yes i correctly set all env. Now i upload images i have error "Unexpected token < in JSON at position 0"
Aws id to do api id
Aws secret to do api secret key
Aws bucket name to do bucket name
Aws upload region which one is need to update
Nyc3 or nyc3.digitaloceanspaces.com
restart your application => you can use
dokku ps:restart nforem
Once try to use different image(may be with JPEG/JPG extension)