Closed oliverbarnes closed 7 years ago
As a start I would suggest to deploy the backend to Heroku and the frontend to GitHub Pages.
Reasoning:
Options for later:
@oliverbarnes thoughts?
I will start with deploying the backend in https://github.com/oliverbarnes/participate-api/issues/35
Locally served frontend works with the Heroku-deployed backend.
Just set apiUrl ="https://participate-api.herokuapp.com"
@oliverbarnes For further tests and for deploying the frontend, could you please:
gh-pages
at GitHub Pages (in the settings of this repo), either at https://oliverbarnes.github.io/
if possible (not sure), otherwise at https://oliverbarnes.github.io/participate
Thanks!
Aside from Facebook authentication (see above): The test deployment at http://participate.thomasweiser.de/ seems to be working when I manually set the accessToken
in session storage.
Done:
gh-pages
published to https://oliverbarnes.github.io/participate/
https://oliverbarnes.github.io/participate/facebook_redirect
as the redirect url. Looks like I can only have one redirect url setup, btw. I'm sending you the app id and secret privatelyThanks!
Currently the app works only in a root directory. I will change that and deploy it to https://oliverbarnes.github.io/participate/
Hmm, this makes me wonder if it's not time to switch participate to its own organization, something I've been considering doing. Besides then having a https://participate.github.io
where the app could run in root dir, it'd also be good for its future visibility. I might do this switch this weekend
Ok, created the organization but it looks like the github-pages is still published to a sub-directory, https://participateapp.github.io/web-client/, and that can't be changed as far as I can see. I'm updating the facebook app permissions
Cool! Having a dedicated organization is a great step for the project.
Sure, finally the app should be deployed to a URL without sub-dirs. But I think it's no harm if the app is prepared to work also from a sub-dir URL. It's already done actually (untested though).
Implemented in #62
Demo of current version: https://participateapp.github.io/
Cool, this is done!
I think we should start putting this up so we can show people, and also so @tnum can review progress.
What's the state of deployment for Elm, Thomas? Where do you think we should host the demo? Is it a matter of bundling the Phoenix api with the Elm app and put it up on Heroku, for example?