Admin:Rapid: Difference between revisions

From Spring
Jump to navigationJump to search
Abma (talk | contribs)
No edit summary
Gajop (talk | contribs)
No edit summary
Line 1: Line 1:
==How to add a rapid repository==
==How to add a rapid repository==


<code><pre>
<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></code>
</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)


<code><pre>
<pre>
vi forceupdate.sh
vi forceupdate.sh
</pre></code>
</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:
<code><pre>
<pre>
./forceupdate.sh:
./forceupdate.sh
</pre></code>
</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:
then repos.gz must be updated:
<code><pre>
<pre>
/home/packages/www/repos.springrts.com
/home/packages/www/repos.springrts.com
./update-repos.py
./update-repos.py
</pre></code>
</pre>


[[Category:Administration]]
[[Category:Administration]]
[[Category:Download Systems]]
[[Category:Download Systems]]

Revision as of 08:46, 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:

/home/packages/www/repos.springrts.com
./update-repos.py