readme update 9f5e9de2
Steve · 2024-08-17 11:00 1 file(s) · +42 −0
README.md +42 −0
1 +
# Radicalize
2 +
3 +
<img src="https://dweb.mypinata.cloud/ipfs/QmdoHJ7VUuiihGdueJzNfu9yEVoSCoasAp19tZ2UcY2RkJ" alt="radicle logo" style={{mx: "auto"}} />
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 +
### Clone and Build with Go
28 +
For this method simply clone the repo, build, and install with Go
29 +
```
30 +
git clone https://github.com/stevedylandev/radicalize
31 +
cd radicalize
32 +
go build
33 +
go install .
34 +
```
35 +
36 +
### Install with Homebrew
37 +
38 +
TBD
39 +
40 +
## Usage
41 +
42 +
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.