Admin:Rapid: Difference between revisions
From Spring
Jump to navigationJump to search
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..." |
No edit summary |
||
| Line 8: | Line 8: | ||
<code><pre> | <code><pre> | ||
vi forceupdate.sh | vi forceupdate.sh | ||
</pre></code> | </pre></code> | ||
Revision as of 21:52, 29 September 2016
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.
update and reload the apache config:
cd /home/packages/www/
./update-apache-config.sh
service apache2 reload
add it as repository (this step will make it "visible" to clients:
vi /home/packages/packages/repos.gz