Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy BE on railway #84

Closed
bhtibrewal opened this issue Jan 21, 2024 · 1 comment
Closed

Deploy BE on railway #84

bhtibrewal opened this issue Jan 21, 2024 · 1 comment

Comments

@bhtibrewal
Copy link
Contributor

bhtibrewal commented Jan 21, 2024

Issue Description

Expected Behavior

NOTE: Dependent on this PR #83

Steps

  1. Deploy a mysql db. Goto https://railway.app/new and choose "Provision MySQL."
    image
  2. Deploy skill-tree-backend, Click "New" and choose "Github Repo" and than "Configure Github App" and add "skill-tree-backend"
image 3. Go "skill-tree-backend" Settings > General and add "/skill-tree" under `Root Directory` image
  1. Go "skill-tree-backend" Variables and add the following variables
image
MYSQL_DB_PASSWORD=${{MySQL.MYSQL_ROOT_PASSWORD}}
DB_DDL_POLICY=update
DB_NAME=${{MySQL.MYSQL_DATABASE}}
MYSQL_DB_USERNAME=root
MYSQL_HOST=${{MySQL.MYSQLHOST}}
RDS_PUBLIC_KEY="-----BEGIN PUBLIC KEY-----
                xxxxxxxxxxxxxxxxx
                -----END PUBLIC KEY-----"
MYSQL_PORT=${{MySQL.MYSQLPORT}}
@bhtibrewal
Copy link
Contributor Author

DONE so closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant