-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add yarn run devsetup command (#925)
* add new yarn command to set up dev environment * change commands to remove redundant pieces to prioritize yarn run devsetup Streamlines the new dev experience
- Loading branch information
1 parent
7e79cc3
commit da6a73a
Showing
2 changed files
with
6 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ | |
"pytest:reusedb": "cd contentcuration; pytest --reuse-db", | ||
"postgres": "service postgresql start || pg_ctl -D /usr/local/var/[email protected] start || true", | ||
"redis": "service redis-server start || redis-server /usr/local/etc/redis.conf || true", | ||
"devsetup": "cd contentcuration && python manage.py setup --settings=contentcuration.dev_settings", | ||
"services": "npm-run-all -c --parallel --silent minio redis postgres", | ||
"unittests": "yarn run build && yarn run pytest", | ||
"unittests:reusedb": "npm-run-all --parallel --race services pytest:reusedb", | ||
|