@@ -44,18 +44,21 @@ git config --global url."http://gitcache:1234/".insteadOf https://
44
44
45
45
Requirements: ` nodejs ` and ` git ` .
46
46
47
- Install: ` npm install --global git-cache-http-server ` .
47
+ ```
48
+ npm install --global git-cache-http-server
49
+ ```
48
50
49
- To install as a service, check the ` doc/git-cache-http-server.service ` example
50
- service file.
51
+ To install a cache service on Linux systems , check the example
52
+ ` doc/git-cache-http-server. service` unit file.
51
53
52
- For Systemd init users, this file should not require major tweaks other than
54
+ For Systemd init users that file should not require major tweaks, other than
53
55
specifying a different than default port number or cache directory. After
54
- installed in the proper Systemd unit path for your distribution, issue :
56
+ installed in the proper Systemd unit path for your distribution:
55
57
56
58
```
57
59
systemctl daemon-reload
58
60
systemctl start git-cache-http-server
61
+ systemctl enable git-cache-http-server
59
62
```
60
63
61
64
# Working with the Haxe sources
@@ -69,10 +72,13 @@ transparently with the usual npm commands. The resulting JS script will be
69
72
placed in ` bin/ ` .
70
73
71
74
```
72
- # install development dependencies and build
75
+ # clone the repository (adjust the protocol)
76
+ git clone https://github.com/jonasmalacofilho/git-cache-http-server
77
+
78
+ # install development dependencies and build the sources
73
79
npm install
74
80
75
- # install the built package globally
81
+ # install the built code globally (might require sudo)
76
82
npm install --global
77
83
```
78
84
0 commit comments