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

Improve Railway deployment docs #2100

Open
Martinsos opened this issue Jun 12, 2024 · 1 comment
Open

Improve Railway deployment docs #2100

Martinsos opened this issue Jun 12, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation shouldfix We should do/fix this at some point

Comments

@Martinsos
Copy link
Member

Martinsos commented Jun 12, 2024

User said following (Discord convo, and also connected convo here):

I would also specify (or remark somehow in the documentation) in part 3 of deploying the server with Railway that the urls you put as WASP_WEB_CLIENT_URL and WASP_SERVER_URL have to have https:// and the url. If not, the app may not work properly (CORS errors for example). This is because when you copy the url from Railway it doesn't have https:// (see picture)

image

It would also be nice to highlight that (working with railway) all the environment variables (client and server) should be specified before deployment. I had a problem with the client myself because I set the PORT to 8043 (as said in the documentation), but I did it after deployment. Got this error (see picture) all the time and at the end decided to delete the client and set it up again this time specifying the port previous to deployment and worked first try.

image

@Martinsos Martinsos added documentation Improvements or additions to documentation shouldfix We should do/fix this at some point labels Jun 12, 2024
@Martinsos
Copy link
Member Author

We did the first thing with #2108 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation shouldfix We should do/fix this at some point
Projects
None yet
Development

No branches or pull requests

1 participant