Admin:Rapid: Difference between revisions
From Spring
Jump to navigationJump to search
No edit summary |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
==How to add a rapid repository== | ==How to add a rapid repository== | ||
<pre> | |||
cd /home/packages/git | cd /home/packages/git | ||
git clone git://github.com/ZeroK-RTS/Zero-K.git zk | git clone git://github.com/ZeroK-RTS/Zero-K.git zk | ||
</pre | </pre> | ||
(git:// should be prefered as it uses less resources when its updated) | (git:// should be prefered as it uses less resources when its updated) | ||
<pre> | |||
vi forceupdate.sh | vi forceupdate.sh | ||
</pre | </pre> | ||
adjust the line "for REPO in /home/packages/git/zk ;" to the path which was added, run it: | adjust the line "for REPO in /home/packages/git/zk ;" to the path which was added, run it: | ||
<pre> | |||
./forceupdate.sh | ./forceupdate.sh | ||
</pre | </pre> | ||
this should create the folder /home/packages/www/zk. | this should create the folder /home/packages/www/zk. | ||
then repos.gz must be updated: | |||
<pre> | |||
cd /home/packages/www/ | cd /home/packages/www/repos.springrts.com | ||
./update- | ./update-repos.py | ||
</pre> | |||
</pre | |||
[[Category:Administration]] | |||
[[Category:Download Systems]] | |||
Latest revision as of 09:00, 27 July 2019
How to add a rapid repository
cd /home/packages/git git clone git://github.com/ZeroK-RTS/Zero-K.git zk
(git:// should be prefered as it uses less resources when its updated)
vi forceupdate.sh
adjust the line "for REPO in /home/packages/git/zk ;" to the path which was added, run it:
./forceupdate.sh
this should create the folder /home/packages/www/zk.
then repos.gz must be updated:
cd /home/packages/www/repos.springrts.com ./update-repos.py