Skip to content
railpack deployment
pmhk
OP

a year ago

I have a github project with two node.js service. I would like to share memlib.js. The service root directory is /server and /enquiry respectively.

I tried to "cp" memlib.js in railway.json and package.json, but both doesn't work.

How can I do it?

repo-root/

├── memlib/

│ └── memlib.js

├── server/

│ └── server.js

└── enquiry/

└── enquiry.js

Solved$10 Bounty

Pinned Solution

a year ago

set a root directory for memlib via the service, and adjust your railway.json and package.json https://docs.railway.com/guides/monorepo

3 Replies

Railway
BOT

a year ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


a year ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody • about 1 year ago


a year ago

set a root directory for memlib via the service, and adjust your railway.json and package.json https://docs.railway.com/guides/monorepo


pmhk
OP

a year ago

I have got it works now. Thanks


Status changed to Solved brody • 12 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...