updated readme
This commit is contained in:
parent
3ea48f55ad
commit
36bc28a70c
1 changed files with 5 additions and 10 deletions
15
README.md
15
README.md
|
@ -1,5 +1,5 @@
|
||||||
# local-arch-repo
|
# local-arch-repo
|
||||||
Running multiple Arch devices? Create your own package archive repository.
|
Running multiple Arch devices? Create your own package archive repository and simply add another device.
|
||||||
This is actually for a pinephone and other x86_64 Arch devices. Probably PIs (armv7l) will follow.
|
This is actually for a pinephone and other x86_64 Arch devices. Probably PIs (armv7l) will follow.
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
@ -33,6 +33,7 @@ python -m http.server
|
||||||
|
|
||||||
### darkhttpd
|
### darkhttpd
|
||||||
```
|
```
|
||||||
|
pacman -S darkhttpd
|
||||||
sudo -u http darkhttpd /srv/http/repo/ --no-server-id
|
sudo -u http darkhttpd /srv/http/repo/ --no-server-id
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -42,18 +43,12 @@ Packages older than half a year will be deleted.
|
||||||
@monthly find /srv/http/repo/* -mtime +182.5 '!' -regex '*pkg*' -exec rm {} \;
|
@monthly find /srv/http/repo/* -mtime +182.5 '!' -regex '*pkg*' -exec rm {} \;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Server
|
## Server & client
|
||||||
```
|
```
|
||||||
git clone https://github.com/TECH-SAVIOURS-ORG/local-arch-repo.git
|
git clone https://github.com/TECH-SAVIOURS-ORG/local-arch-repo.git
|
||||||
cd local-arch-repo
|
cd local-arch-repo
|
||||||
sudo ./server.sh
|
chmod u+x start.sh
|
||||||
```
|
sudo ./start.sh
|
||||||
|
|
||||||
## Client
|
|
||||||
```
|
|
||||||
git clone https://github.com/TECH-SAVIOURS-ORG/local-arch-repo.git
|
|
||||||
cd local-arch-repo
|
|
||||||
sudo ./client.sh
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Test it
|
## Test it
|
||||||
|
|
Loading…
Reference in a new issue