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

[Setting] Database supports MySQL #57

Merged
merged 3 commits into from
Nov 24, 2019
Merged

Conversation

deploy-soon
Copy link
Contributor

@deploy-soon deploy-soon commented Nov 22, 2019

What is this PR? 🔍

When we deploy our service, the database would be mounted on mysql engine.
But in debug side the mysql engine is unnecessary.

New features

  • Separate settings.py into debug.py and deploy.py
  • Update manage.py to use debug.py settings default.
  • Manage some important configs in .config files

How to run Backend

# Debug(local)
$ python manage.py runserver

# Deploy
$ python manage.py runserver --settings=triplannet.settings.deploy

@deploy-soon
Copy link
Contributor Author

Set up details #52

@deploy-soon deploy-soon self-assigned this Nov 22, 2019
@deploy-soon deploy-soon merged commit cb06ff0 into master Nov 24, 2019
@deploy-soon deploy-soon deleted the setting-backend-mysql branch December 4, 2019 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant