https://github.com/Yuen-Wee-Kin-Edwin/github-backup
Github Repo Backup Script.
https://github.com/Yuen-Wee-Kin-Edwin/github-backup
backup github python
Last synced: 8 months ago
JSON representation
Github Repo Backup Script.
- Host: GitHub
- URL: https://github.com/Yuen-Wee-Kin-Edwin/github-backup
- Owner: Yuen-Wee-Kin-Edwin
- License: apache-2.0
- Created: 2024-12-15T05:45:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-17T12:44:24.000Z (over 1 year ago)
- Last Synced: 2025-01-17T14:00:53.677Z (over 1 year ago)
- Topics: backup, github, python
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
1. Setup [GitHub CLI](https://cli.github.com/)
Ensure that you are login to your GitHub account in the CLI.
2. Install [Python](https://www.python.org/downloads/)
Ensure that the `Add python.exe to PATH` is checked
3. Setup python virtual environment.
```ps
// Install virtualenv package
pip install virtualenv
// Create a virtual environment.
python -m venv venv
// Activate virtual environment
.\venv\Scripts\activate
// Install required packages
pip install -r requirements.txt
// Deactivate virtual environment
deactivate
```
4. Create the executable file.
```ps
pyinstaller --onefile ./backup.py
```
5. Run the backup.exe
The file is located at dist/backup.exe