21 lines
597 B
Markdown
21 lines
597 B
Markdown
# Railiance Tools
|
|
|
|
## create_railiance_repo.sh
|
|
Creates a new Railiance repo in Gitea (user or org), with a minimal scaffold.
|
|
|
|
**Requires:** `~/.railiance_gitea.conf`
|
|
|
|
```bash
|
|
GITEA_URL="https://git.example.com"
|
|
GITEA_USER="your-username"
|
|
GITEA_ORG="" # or your org name
|
|
GITEA_TOKEN="xxxxxxxxxxxxxxxx" # scopes: read:user + write:repository
|
|
|
|
|
|
## Usage
|
|
./tools/create_railiance_repo.sh
|
|
./tools/create_railiance_repo.sh --repo my-repo --public --desc "My desc"
|
|
./tools/create_railiance_repo.sh --org coulomb
|
|
|
|
## Misc
|
|
The script relies on your Git credential helper or SSH key for the initial push. |