Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.27 KB

File metadata and controls

35 lines (29 loc) · 1.27 KB

Getting Started

Go to Railway, fill those config var : settings/Variables :

BUDGET_DB_PROD
AUTH_DB_PROD
DB_PROD:
MONGO_CONNECTION_STRING

OUTDATED


CLI Time 🥳

first after creating your Heroku account, and installed Heroku CLI, connect to it : heroku login

  • a web page should be launched

- _if necessary_ : `heroku buildpacks:clear --app your-app` `heroku buildpacks:set https://github.com/timanovsky/subdir-heroku-buildpack --app your-app` - _this buildpack must be before node_ `heroku buildpacks:add heroku/nodejs --app your-app` - _or whatever buildpack you need for your application_ `heroku config:set PROJECT_PATH=project/backend --app your-app` _pointing to what you want to be a project root here :_ utils _you also can set it directly to your Heroku setup_ `heroku logs --app your-app` in case of depployement fails, you may wanna know why ? Deploy your project to Heroku, and give a thank to [timanovsky](https://github.com/timanovsky) for his [article](https://medium.com/@timanovsky/heroku-buildpack-to-support-deployment-from-subdirectory-e743c2c838dd)