-
Notifications
You must be signed in to change notification settings - Fork 83
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
List of files are empty after sync with dropbox #145
Comments
Hey @leandroohf, I'm not exactly sure what's going on, but a couple thoughts:
Also happy to hop on a call with you if you'd like to help figure this out. Feel free to reach out to me at me@danielde.dev |
Hi Daniel - thanks for your quick reply.
One more thing. I also tried to deploy using Heroku. Follow the steps after running git push heroku master. I got an error in Heroku logs (heroku logs --tail) related to the command "serve build." See the output below:
Would you like for me to start a new issue regarding that? Or could you keep it here? |
Hi Daniel - thanks for your quick reply.
One more thing. I also tried to deploy using Heroku. Follow the steps after running git push heroku master. I got an error in Heroku logs (heroku logs --tail) related to the command "serve build." See the output below:
I tried deploying with these node versions: 11.10.0, 11.15.0, and 12.2.0. I change the contents of the file package.json to do that. "engines": { What are the versions of nodejs you have tested org-web? Have you tried the latest? It seems version 11.x is too old. Would you like for me to start a new issue regarding that? Or could you keep it here? |
Ah well that explains it then!
I don't know of any good references off the top of my head (nowadays when I do this stuff it's mostly managed by some service I'll mention below), but the company I'd recommend is Let's Encrypt: https://letsencrypt.org/. They're a non-profit that provides free SSL certificates. However, this may be a particular pain for you to set up if you don't have a domain name. What I'd really recommend is that you use a managed service like Netlify or Digital Ocean. I've used and can recommend both. They both make it super easy to set up a simple static site (which is all you need) and purchase a domain to go along with it. They'll also set up all the SSL stuff for you. This will still require that you can build the app somehow, which gets us to the next part of your comment. Version 11 of Node is quite old, yes, but you can still install it and use it just fine (I just did the other night to deploy a new version of org-web). The tool I'd recommend to manage Node versions is asdf. So you'll need to do something like the following:
Once again, happy to hop on a call and help you get set up with this if you'd like! I know it's a lot, especially if you're unfamiliar with the ecosystem of web tools. |
I am trying to host my version of org-web and sync with dropbox. Be advised that I do not know much about react-app, yarn, HTTP servers and dropbox apps either.
I read the issue #74 and the documentation on READMEorg. Based on that:
I created my dropbox app, and I set the Redirect URIs to https://my-public-ip:3000/
edit .env and set REACT_APP_DROPBOX_CLIENT_ID=MY DROPBOX APP key
I changed the file package.json to "start": "HTTPS=true react-scripts start." So I can start the service with HTTPS instead of HTTP (Dropbox was complaining about that)
I could start the HTTP server with the command yarn start. I accessed the org-web under https://my-public-ip:3000/
On https://my-public-ip:3000/ (landpage). I logged on to Dropbox after clicking Sign in -> Dropbox. But after being redirected to a page where the files are supposed to be listed, that page was empty.
What are the possible problems?
The text was updated successfully, but these errors were encountered: