2018-10-28 11:33:34 +01:00
|
|
|
# Install
|
|
|
|
|
|
|
|
``` bash
|
|
|
|
pip3 install --user requests
|
|
|
|
```
|
|
|
|
|
|
|
|
Edit
|
|
|
|
|
|
|
|
``` python
|
|
|
|
GITEA_DOMAIN = 'domaingitea.com'
|
|
|
|
GITEA_USERNAME = 'usergitea'
|
|
|
|
GITEA_PASSWORD = 'passgitea'
|
|
|
|
GITHUB_USERNAME = 'usergithub'
|
|
|
|
```
|
|
|
|
|
|
|
|
# Run
|
|
|
|
|
|
|
|
``` bash
|
|
|
|
python3 github-to-gitea.py
|
|
|
|
```
|