a year ago
can anyone please help me with deploying a project i have working locally?
94 Replies
a year ago
you gotta give a whole lot more information
I understand. I have an application that is using Node JS and it interfaces with the X API to tokenize X posts. It works great locally, but I am now trying to place it online. I apologize as I am new with some of this, and I am used to simpler websites, so I am not really sure all the specifics. but I was trying to find someone I can talk to help me do it.
a year ago
more information, what errors, what have you tried, what isnt working, etc etc
you're right. this is out of scope so to say. i am basically looking for a tutor. i have no errors because I don't know where to go. I apologize for wasting your time and I thank you for it. I was trying to find a non admin
a year ago
very possible for someone non-admin to come help, im just trying to kick start the convo, admin or not, whoever may help you needs information
a year ago
Have you read through Railway's quickstart guide? You're welcome to ask questions, but I won't be able to walk you through the entire process
if you make a dockerfile on your github repo, it will deploy from the dockerfile
is there a ecosystem here where I could hire someone to help me set it up? like someone I can hire that can take a zip of a website that works locally and make it "work" online?
a year ago
No, there is not. You'll need to put in some effort to get your site working
a year ago
Have you read the quickstart docs? If so, send your repo here along with a screenshot of your project as it exists on Railway and any errors you may have
a year ago
That’s totally understandable I’ve been working on it a lot and I’m getting closer. I have a working docker version of t he app and I am using railway CLI right now. I am motivated to do it myself. Just updating you. I have no specific questions yet. Thank you again for your time
I cannot overcome this
Nixpacks was unable to generate a build plan for this app.
a year ago
full logs please
a year ago
they aren't using one
Wait, are you guys able to see our entire railway project from a project id?
is that how you know if we are using dockerfiles?
a year ago
they just showed a log that said nixpacks…
a year ago

a year ago
Please send the full logs as well as your repo if possible
Can I upload a zip file? I am sorry I am new to this it is very confusing to me. My main issue is I am unable to use railway up and so I have been using chat gpt to manually make the docker file and upload it but I have a hard time getting it to detect changes. One time I updated it and it instantly knew. But now it’s been half an hour and whenever I update it nothing changes. I try deleting and re addding vissequ/xnft:latest but it ignores it
I don’t know how to send the logs besides copying paste and they are too long is there a way to download them?
a year ago
Are you not storing your code in a Github repo? That should be your first step. the CLI is much more confusing to use than just connecting a Github repo
a year ago
is there a reason you're not using Github?
a year ago
CTRL/COMMAND + K --> Download Build Logs
a year ago
Do you have a deployment selected?
a year ago
No, you do not
i had it working briefly, but i broke it accidentally by asking it to break the line after 4 words instead of 5, that doesn't really make any sense, so there's probably something else going on, but I'm just triyng to get it back to the code where it breaks the line after 5 words
if it is uploaded to github, can you post your github repo?
And did you deploy the github repo directly into railway?
yes but i set it to be private only. i'm bad at github and i don't know how to change that so give me a minute while i re upload
here is my repo sir https://github.com/vissequ/xnft4
a year ago
Thanks for uploading it as a Github repo. Now, please create a new project on Railway as well as a new service from that repo.
a year ago
i did not see the deploy now or add variables option, my understanding is i must add my .env variables
a year ago
You are correct. If you need to add environment variables, you can add them after selecting your Github repo
let me know if I am wrong.
My understanding is that the app is running, but is breaking at line 188. and line 94
Error processing GIF: AxiosError: Request failed with status code 401
at settle (/app/node_modules/axios/dist/node/axios.cjs:2026:12)
at IncomingMessage.handleStreamEnd (/app/node_modules/axios/dist/node/axios.cjs:3142:11)
at IncomingMessage.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1358:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at Axios.request (/app/node_modules/axios/dist/node/axios.cjs:4252:41)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async uploadFileToPinata (/app/server.js:94:22)
at async /app/server.js:188:24 {
code: 'ERR_BAD_REQUEST',Line 188 in your server.js is unable to do the request. Are you able to do the request in postman?
line 188
const gifCID = await uploadFileToPinata(gifPath);line 94
const response = await axios.post(a year ago
We will get there eventually. First, let's finish setting up the app through Github
question.
if I put the ENV variables in docker, does that automatically change the env variables on the railway.app service?
So if i have this in my dockerfile on github
ENV PORT=3000Does it update the service env variables automatically?
a year ago
Railway's docs say to use the ARG command rather than the ENV command
https://docs.railway.com/guides/dockerfiles#using-variables-at-build-time
If you have questions that relate to your own deployment, please open a new help thread
i wish to make a change to a line of the code, if I update this in the GitHub will it automatically update on Railway?
a year ago
Yes, that was the point of connecting your service to a repo
a year ago
Glad to hear it
yep, but You have to hit the deploy button, I don't think it does it automatically by default.
a year ago
That's not the case
ok, I have to do it on my service, is it because I have other stuff going on?
a year ago
Railway will automatically redeploy your service if any commits are pushed to the connected branch. The only scenario where it doesn't do this is if you have people pushing commits to your Github repo who are not added to your Railway project
a year ago
If this is the case, you will need to approve any changes made
ok, that is the case for me.
I have a repo that is in a github organization, and I commit from a different account. So, I have to manually hit the deploy button when there is a new commit.
the orginization repo is on github, and is owned by the organization.
The repo is on railway service.
But all commits are done by individuals inside the organization, but not by the organization.
So I have to manually hit deploy, when there is a new commit. At least from what I understand.
a year ago
If you're using Railway for an organization, you should be on the Pro plan. Once you upgrade, you can disable that check
I have the hobby plan on my personal railway account. But I also have the pro plan in another workspace.
a year ago
If your deployment is working @vissequ, I'll be closing this thread
a year ago
Happy to help
a year ago
!s
Status changed to Solved adam • about 1 year ago

