railpack deployment
pmhk
PROOP

4 months 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

4 months 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

4 months 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!


4 months 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 4 months ago


4 months 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
PROOP

4 months ago

I have got it works now. Thanks


Status changed to Solved brody 4 months ago


Loading...