File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 workflow_dispatch :
1111
1212jobs :
13- run-script :
13+ update_readme :
1414 runs-on : ubuntu-latest
1515 steps :
1616 - name : Checkout main branch
1717 uses : actions/checkout@v4
1818 with :
1919 ref : ' main'
2020 fetch-depth : 0
21- token : ${{ secrets.GITHUB_TOKEN }}
21+ token : ${{ secrets.ATTICUS_PAT }}
2222
2323 - name : Configuring git credentials
2424 run : |
Original file line number Diff line number Diff line change 5959___
6060![ ] ( assets/usage.gif )
6161
62- 1 . create your github repo and clone your repo
63-
62+ 1 . create your github repo and config it
63+ 1 . allow ci to access your repo
64+ ![ img.png] ( assets/img.png )
65+ 2 . config ci_tokens
66+ 1 . ` CODECOV_TOKEN ` for codecov in ` .github/workflows/ci.yml ` ,` semantic-release ` is optional for auto release
67+ 2 . ` ATTICUS_PAT ` should replace with your GitHub token for latest_changes.yml in ` .github/workflows/latest_changes.yml `
68+ 3 . ` DOCKER_USERNAME ` and ` DOCKER_PASSWORD ` for docker-image.yml in ` .github/workflows/docker-image.yml `
69+ 4 . replace ` tags: atticuszhou/supafast:latest ` with your docker repo in ` .github/workflows/docker-image.yml `
70+ 3 . config fastapi setting in ` your_project\src\app\core\config.py `
71+ 4 . config ` pyproject.toml ` with your project name and description,etc
64722 . cd your repo and install dependencies
6573
6674``` shell
@@ -71,6 +79,8 @@ poetry install
7179``` shell
7280export SUPABASE_URL=your_supabase_url
7381export SUPABASE_KEY=your_supabase_key
82+ export SUPERUSER_EMAIL=your_superuser_email
83+ export SUPERUSER_PASSWORD=your_superuser_password
7484```
75854 . config fastapi settings
7686``` python
You can’t perform that action at this time.
0 commit comments