Admin:Rapid: Difference between revisions

From Spring
Jump to navigationJump to search
Abma (talk | contribs)
Created page with "==How to add a rapid repository== <code><pre> cd /home/packages/git git clone git://github.com/ZeroK-RTS/Zero-K.git zk </pre></code> (git:// should be prefered as it uses les..."
 
Gajop (talk | contribs)
 
(6 intermediate revisions by 2 users not shown)
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.


update and reload the apache config:
then repos.gz must be updated:
<code><pre>
<pre>
cd /home/packages/www/
cd /home/packages/www/repos.springrts.com
./update-apache-config.sh
./update-repos.py
service apache2 reload
</pre>
</pre></code>


 
[[Category:Administration]]
add it as repository (this step will make it "visible" to clients:
[[Category:Download Systems]]
<code><pre>
vi /home/packages/packages/repos.gz
</pre></code>

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