How to remove files/folders
Hi, im new in railway and i have to remove my node_modules folder because i get some issues. It seems like railway dont give ssh and ftp access. How i suppose to do ? thank you
33 Replies
Project ID:
N/A
N/A
you would want to put
node_modules/
in your .gitignore fileIt's already there, I'd like to delete the one created by the previous build
put
node_modules/
in your .gitignore file
remove the folder from the repo
push your new .gitignore filenodes_modules isnt in my repo. Its only on the server
if its not in your repo, then it wont be in the next deployment
storage isnt persistent, so whatever was in your previous build is replaced with whatever is in the repo
oooh ok, i get it
maybe you have an idea with this so ?
i dont have the pb in local and the previous build was good with same package
share your repo please
GitHub
GitHub - leodidier-dev/napoleon_api
Contribute to leodidier-dev/napoleon_api development by creating an account on GitHub.
my last change was fews month ago, i dont get it
use railways strapi template
https://railway.app/template/strapi
its already one
^
hoh i can change, keeping the postgre db ?
use the repo as a reference
if i do that if working great, but a new postregre db is created. I want the old one
just delete the new database, and setup the reference variables to the old database
https://docs.railway.app/develop/variables#reference-variables
its just replace my old database
im so lost
can i get a backup ??
I'm sweating
just delete the new database, aka the empty database
let me know when thats done
I must be misunderstood. Sorry.
I put the references of my old database on my new strapi project. I deployed and it totally overwritten my old data. I've lost everything. I have absolutely no idea what to do.
did you have a backup
no
no backup
im so fucked up
chill with the language
sorry, I'm very stressed
thanks for helping me
im just gonna rip off the Band-Aid, youll need to start from scratch
we cant have a backup from railway ?
if you didnt take one, no
:/
im sorry to hear this
thanks a lot for your help