You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log(`node-git-server running at http://localhost:${port}`);
174
-
});
175
-
```
176
-
177
-
then start up the node-git-server server...
178
-
179
-
```
180
-
$ node example/index.js
181
-
node-git-server running at http://localhost:7005
182
-
```
183
-
184
-
meanwhile...
185
-
186
-
```
187
-
$ git push http://localhost:7005/beep master
188
-
Counting objects: 356, done.
189
-
Delta compression using up to 2 threads.
190
-
Compressing objects: 100% (133/133), done.
191
-
Writing objects: 100% (356/356), 46.20 KiB, done.
192
-
Total 356 (delta 210), reused 355 (delta 210)
193
-
To http://localhost:7005/beep
194
-
* [new branch] master -> master
195
-
```
196
-
197
-
# Example
198
-
199
-
Running the following command will start up a simple http server:
200
-
201
-
```
202
-
node example/index.js
203
-
```
204
-
205
-
If you want to try using https run the following
206
-
207
-
```
208
-
node example/index.js --https
209
-
```
210
-
211
-
> When running https with self-signed certs there are two ways to override the git-clients behavior using `git config http.sslVerify false` or `git config --global http.sslCAInfo /path/to/cert.pem`
212
-
213
-
For more information please visit the [docs](http://www.gabrielcsapo.com/node-git-server/code/index.html)
0 commit comments