9 months ago
I have a simple stock wordpress site. I wanted to set my local dev environment up. I am on the step of railway up which I thought would set up the env locally but it does this:
Indexed
Compressed [====================] 100%
error sending request for url (https://backboard.railway.com/project/)Indexed - 3 seconds
Compressed - 6 seconds
Uploading and then showing the error - 15 seconds
What should I do?
32 Replies
9 months ago
can you try with the --verbose flag please?
Indexed
Compressed [====================] 100% railway up
service: 5eaa4009-14ef-4e43-ba02-9618a09727ab
environment: dff7eabe-7f19-4e34-8cc5-49ba12ac59e6
bytes: 46298588
url: https://backboard.railway.com/project/554b621c-d3f9-4dc8-a11b-19adafdcc10e/environment/dff7eabe-7f19-4e34-8cc5-49ba12ac59e6/up?serviceId=5eaa4009-14ef-4e43-ba02-9618a09727ab
error sending request for url (https://backboard.railway.com/project/554b621c-d3f9-4dc8-a11b-19adafdcc10e/environment/dff7eabe-7f19-4e34-8cc5-49ba12ac59e6/up?serviceId=5eaa4009-14ef-4e43-ba02-9618a09727ab)
Caused by:
operation timed out9 months ago
that's likely too big of an upload
what is it uploading? This is the correct method to set up my dev env locally right?
9 months ago
the CLI is uploading a tarball of your project, the resulting tarball is too big at about 45MB
so railway only provides the easy local dev setup if your project is under 45mb?
9 months ago
I guess you could look at it that way
Do you suggest for people like me instead to do docker compose to do local set up?
9 months ago
I'm not seeing how railway up and docker compose relate here, they do two very different things
9 months ago
I suggest not to store large files inside of your project folder
I want to set up my local dev env, I was thinking railway up would set up my local dev env automatically, pluiggin in values and connecting services
9 months ago
railway up uploads your code to a service
9 months ago
it doesn't setup anything locally
Is there a command or anything, where it can set up your local dev env? maybe I just misunderstood
9 months ago
if you want to run your application locally with the railway environment variables from your service, you want railway run
I just have a dockerfile, and a wp-content folder with themes and plugins director
9 months ago
you can use a local php server
eg. php server, or nginx, apache, then set up wordpress and all that stuff, or…..am I wrong that I can use docker compose to easily set up my local dev env?
9 months ago
use whatever method you are most comfortable with
9 months ago
!s
Status changed to Solved brody • 9 months ago