README.md 1.4 K raw
1
# Radicalize
2
3
![radicle banner](https://dweb.mypinata.cloud/ipfs/QmUFwBiweWHtGBxftQ7xNpiS5xSBHJyZJgsHXXGRy2qyLH)
4
5
A script that helps clone existing git repos to [Radicle](https://radicle.xyz).
6
7
## Pre-Installation
8
9
In order to use this script you will already need Radicle installed on your machine. Follow the instructions [here](https://radicle.xyz/#get-started) before moving forward.
10
11
After installing be sure to initialize Radicle with the following command:
12
13
```
14
rad auth
15
```
16
17
Then spin up the node to make sure that is working as well.
18
19
```
20
rad node start
21
```
22
23
## Installation
24
25
This script is written in Go so there are a few install options.
26
27
### Install directly with Go
28
Have Go installed and run this command.
29
```
30
go install github.com/stevedylandev/radicalize@latest
31
```
32
33
### Clone and Build with Go
34
For this method simply clone the repo, build, and install with Go
35
```
36
git clone https://github.com/stevedylandev/radicalize
37
cd radicalize
38
go build
39
go install .
40
```
41
42
### Install with Homebrew
43
44
TBD
45
46
## Usage
47
48
To start backing up your repos simply run the command `radicalize` in the parent directory of all your projects. This will creep through all directories for .git repos on a surface level, so if you have sub directories you will want to navigate to those separately. After finding all git repos you can select which ones you would like to init to your Radicle node. Once you have confirmed the selection it will work through each repo and initialize it.