-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from 1chooo/ho-dev
separate main, Refinaid.App
- Loading branch information
Showing
4 changed files
with
103 additions
and
83 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
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 |
---|---|---|
@@ -1,7 +1,14 @@ | ||
#!/bin/zsh | ||
# Version v0.1.1 | ||
# Version v0.1.2 | ||
# Author: Hugo ChunHo Lin | ||
# GitHub: github.com/1chooo | ||
# Copyright (C) 2023 Hugo ChunHo Lin All rights reserved. | ||
|
||
uvicorn main:app --host 127.0.0.1 --port 5002 --reload | ||
if [[ "$VIRTUAL_ENV" != "" ]]; then | ||
echo "venv has been activated" | ||
else | ||
source venv/bin/activate | ||
echo "venv is activated" | ||
fi | ||
|
||
python main.py |
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