FossilRepo

1
2
<!doctype html>
3
<html lang="en" class="no-js">
4
<head>
5
6
<meta charset="utf-8">
7
<meta name="viewport" content="width=device-width,initial-scale=1">
8
9
<meta name="description" content="Self-hosted Fossil forge -- omnibus installer for production Fossil SCM hosting">
10
11
12
<meta name="author" content="CONFLICT LLC">
13
14
15
<link rel="canonical" href="https://fossilrepo.dev/getting-started/first-repo/">
16
17
18
<link rel="prev" href="../configuration/">
19
20
21
<link rel="next" href="../../architecture/overview/">
22
23
24
25
26
27
<link rel="icon" href="../../assets/images/favicon.png">
28
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.7.6">
29
30
31
32
<title>First Repository - Fossilrepo</title>
33
34
35
36
<link rel="stylesheet" href="../../assets/stylesheets/main.484c7ddc.min.css">
37
38
39
<link rel="stylesheet" href="../../assets/stylesheets/palette.ab4e12ef.min.css">
40
41
42
43
44
45
46
47
48
49
50
51
52
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
53
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
54
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
55
56
57
58
<link rel="stylesheet" href="../../assets/css/custom.css">
59
60
<script>__md_scope=new URL("../..",location),__md_hash=e=>[...e].reduce(((e,_)=>(e<<5)-e+_.charCodeAt(0)),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
61
62
63
64
65
66
</head>
67
68
69
70
71
72
73
74
75
76
<body dir="ltr" data-md-color-scheme="slate" data-md-color-primary="custom" data-md-color-accent="custom">
77
78
79
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
80
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
81
<label class="md-overlay" for="__drawer"></label>
82
<div data-md-component="skip">
83
84
85
<a href="#creating-your-first-repository" class="md-skip">
86
Skip to content
87
</a>
88
89
</div>
90
<div data-md-component="announce">
91
92
</div>
93
94
95
96
97
<header class="md-header" data-md-component="header">
98
<nav class="md-header__inner md-grid" aria-label="Header">
99
<a href="../.." title="Fossilrepo" class="md-header__button md-logo" aria-label="Fossilrepo" data-md-component="logo">
100
<div style="display: flex; align-items: center; gap: 0.6rem;">
101
<img src="../../assets/images/conflict-logo.svg" alt="CONFLICT" style="height: 1.4rem; width: auto;">
102
<img src="../../assets/images/fossilrepo-logo.svg" alt="Fossilrepo" style="height: 1.2rem; width: auto;">
103
</div>
104
</a>
105
<label class="md-header__button md-icon" for="__drawer">
106
107
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/></svg>
108
</label>
109
<div class="md-header__title" data-md-component="header-title">
110
<div class="md-header__ellipsis">
111
<div class="md-header__topic">
112
<span class="md-ellipsis">
113
Fossilrepo
114
</span>
115
</div>
116
<div class="md-header__topic" data-md-component="header-topic">
117
<span class="md-ellipsis">
118
119
First Repository
120
121
</span>
122
</div>
123
</div>
124
</div>
125
126
127
<form class="md-header__option" data-md-component="palette">
128
129
130
131
132
<input class="md-option" data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme="slate" data-md-color-primary="custom" data-md-color-accent="custom" aria-label="Switch to light mode" type="radio" name="__palette" id="__palette_0">
133
134
<label class="md-header__button md-icon" title="Switch to light mode" for="__palette_1" hidden>
135
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6a6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg>
136
</label>
137
138
139
140
141
142
<input class="md-option" data-md-color-media="(prefers-color-scheme: light)" data-md-color-scheme="default" data-md-color-primary="custom" data-md-color-accent="custom" aria-label="Switch to dark mode" type="radio" name="__palette" id="__palette_1">
143
144
<label class="md-header__button md-icon" title="Switch to dark mode" for="__palette_0" hidden>
145
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4m0 10a6 6 0 0 1-6-6 6 6 0 0 1 6-6 6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg>
146
</label>
147
148
149
</form>
150
151
152
153
<script>var palette=__md_get("__palette");if(palette&&palette.color){if("(prefers-color-scheme)"===palette.color.media){var media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']");palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent")}for(var[key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script>
154
155
156
157
158
159
<label class="md-header__button md-icon" for="__search">
160
161
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5"/></svg>
162
</label>
163
<div class="md-search" data-md-component="search" role="dialog">
164
<label class="md-search__overlay" for="__search"></label>
165
<div class="md-search__inner" role="search">
166
<form class="md-search__form" name="search">
167
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
168
<label class="md-search__icon md-icon" for="__search">
169
170
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5"/></svg>
171
172
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg>
173
</label>
174
<nav class="md-search__options" aria-label="Search">
175
176
<button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1">
177
178
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>
179
</button>
180
</nav>
181
182
<div class="md-search__suggest" data-md-component="search-suggest"></div>
183
184
</form>
185
<div class="md-search__output">
186
<div class="md-search__scrollwrap" tabindex="0" data-md-scrollfix>
187
<div class="md-search-result" data-md-component="search-result">
188
<div class="md-search-result__meta">
189
Initializing search
190
</div>
191
<ol class="md-search-result__list" role="presentation"></ol>
192
</div>
193
</div>
194
</div>
195
</div>
196
</div>
197
198
199
200
<div class="md-header__source">
201
<a href="https://github.com/ConflictHQ/fossilrepo" title="Go to repository" class="md-source" data-md-component="source">
202
<div class="md-source__icon md-icon">
203
204
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path d="M173.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9M252.8 8C114.1 8 8 113.3 8 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C436.2 457.8 504 362.9 504 252 504 113.3 391.5 8 252.8 8M105.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2"/></svg>
205
</div>
206
<div class="md-source__repository">
207
ConflictHQ/fossilrepo
208
</div>
209
</a>
210
</div>
211
212
</nav>
213
214
</header>
215
216
<div class="md-container" data-md-component="container">
217
218
219
220
221
222
<nav class="md-tabs" aria-label="Tabs" data-md-component="tabs">
223
<div class="md-grid">
224
<ul class="md-tabs__list">
225
226
227
228
229
230
231
<li class="md-tabs__item">
232
<a href="../.." class="md-tabs__link">
233
234
235
236
237
238
Home
239
240
</a>
241
</li>
242
243
244
245
246
247
248
249
250
251
252
253
254
<li class="md-tabs__item md-tabs__item--active">
255
<a href="../prerequisites/" class="md-tabs__link">
256
257
258
259
Getting Started
260
261
</a>
262
</li>
263
264
265
266
267
268
269
270
271
272
273
274
<li class="md-tabs__item">
275
<a href="../../architecture/overview/" class="md-tabs__link">
276
277
278
279
Architecture
280
281
</a>
282
</li>
283
284
285
286
287
</ul>
288
</div>
289
</nav>
290
291
292
293
<main class="md-main" data-md-component="main">
294
<div class="md-main__inner md-grid">
295
296
297
298
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
299
<div class="md-sidebar__scrollwrap">
300
<div class="md-sidebar__inner">
301
302
303
304
305
306
307
<nav class="md-nav md-nav--primary md-nav--lifted" aria-label="Navigation" data-md-level="0">
308
<label class="md-nav__title" for="__drawer">
309
<a href="../.." title="Fossilrepo" class="md-nav__button md-logo" aria-label="Fossilrepo" data-md-component="logo">
310
<div style="display: flex; align-items: center; gap: 0.6rem;">
311
<img src="../../assets/images/conflict-logo.svg" alt="CONFLICT" style="height: 1.4rem; width: auto;">
312
<img src="../../assets/images/fossilrepo-logo.svg" alt="Fossilrepo" style="height: 1.2rem; width: auto;">
313
</div>
314
</a>
315
Fossilrepo
316
</label>
317
318
<div class="md-nav__source">
319
<a href="https://github.com/ConflictHQ/fossilrepo" title="Go to repository" class="md-source" data-md-component="source">
320
<div class="md-source__icon md-icon">
321
322
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path d="M173.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9M252.8 8C114.1 8 8 113.3 8 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C436.2 457.8 504 362.9 504 252 504 113.3 391.5 8 252.8 8M105.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2"/></svg>
323
</div>
324
<div class="md-source__repository">
325
ConflictHQ/fossilrepo
326
</div>
327
</a>
328
</div>
329
330
<ul class="md-nav__list" data-md-scrollfix>
331
332
333
334
335
336
337
338
<li class="md-nav__item">
339
<a href="../.." class="md-nav__link">
340
341
342
343
<span class="md-ellipsis">
344
345
346
Home
347
348
349
350
</span>
351
352
353
354
</a>
355
</li>
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
<li class="md-nav__item md-nav__item--active md-nav__item--section md-nav__item--nested">
381
382
383
384
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2" checked>
385
386
387
<label class="md-nav__link" for="__nav_2" id="__nav_2_label" tabindex="">
388
389
390
391
<span class="md-ellipsis">
392
393
394
Getting Started
395
396
397
398
</span>
399
400
401
402
<span class="md-nav__icon md-icon"></span>
403
</label>
404
405
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="true">
406
<label class="md-nav__title" for="__nav_2">
407
<span class="md-nav__icon md-icon"></span>
408
409
410
Getting Started
411
412
413
</label>
414
<ul class="md-nav__list" data-md-scrollfix>
415
416
417
418
419
420
421
422
<li class="md-nav__item">
423
<a href="../prerequisites/" class="md-nav__link">
424
425
426
427
<span class="md-ellipsis">
428
429
430
Prerequisites
431
432
433
434
</span>
435
436
437
438
</a>
439
</li>
440
441
442
443
444
445
446
447
448
449
450
<li class="md-nav__item">
451
<a href="../installation/" class="md-nav__link">
452
453
454
455
<span class="md-ellipsis">
456
457
458
Installation
459
460
461
462
</span>
463
464
465
466
</a>
467
</li>
468
469
470
471
472
473
474
475
476
477
478
<li class="md-nav__item">
479
<a href="../configuration/" class="md-nav__link">
480
481
482
483
<span class="md-ellipsis">
484
485
486
Configuration
487
488
489
490
</span>
491
492
493
494
</a>
495
</li>
496
497
498
499
500
501
502
503
504
505
506
507
508
<li class="md-nav__item md-nav__item--active">
509
510
<input class="md-nav__toggle md-toggle" type="checkbox" id="__toc">
511
512
513
514
515
516
<label class="md-nav__link md-nav__link--active" for="__toc">
517
518
519
520
<span class="md-ellipsis">
521
522
523
First Repository
524
525
526
527
</span>
528
529
530
531
<span class="md-nav__icon md-icon"></span>
532
</label>
533
534
<a href="./" class="md-nav__link md-nav__link--active">
535
536
537
538
<span class="md-ellipsis">
539
540
541
First Repository
542
543
544
545
</span>
546
547
548
549
</a>
550
551
552
553
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
554
555
556
557
558
559
560
<label class="md-nav__title" for="__toc">
561
<span class="md-nav__icon md-icon"></span>
562
Table of contents
563
</label>
564
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
565
566
<li class="md-nav__item">
567
<a href="#via-the-dashboard" class="md-nav__link">
568
<span class="md-ellipsis">
569
570
Via the Dashboard
571
572
</span>
573
</a>
574
575
</li>
576
577
<li class="md-nav__item">
578
<a href="#via-the-cli" class="md-nav__link">
579
<span class="md-ellipsis">
580
581
Via the CLI
582
583
</span>
584
</a>
585
586
</li>
587
588
<li class="md-nav__item">
589
<a href="#what-happens-under-the-hood" class="md-nav__link">
590
<span class="md-ellipsis">
591
592
What Happens Under the Hood
593
594
</span>
595
</a>
596
597
</li>
598
599
<li class="md-nav__item">
600
<a href="#accessing-your-repository" class="md-nav__link">
601
<span class="md-ellipsis">
602
603
Accessing Your Repository
604
605
</span>
606
</a>
607
608
<nav class="md-nav" aria-label="Accessing Your Repository">
609
<ul class="md-nav__list">
610
611
<li class="md-nav__item">
612
<a href="#web-ui" class="md-nav__link">
613
<span class="md-ellipsis">
614
615
Web UI
616
617
</span>
618
</a>
619
620
</li>
621
622
<li class="md-nav__item">
623
<a href="#clone-via-fossil" class="md-nav__link">
624
<span class="md-ellipsis">
625
626
Clone via Fossil
627
628
</span>
629
</a>
630
631
</li>
632
633
<li class="md-nav__item">
634
<a href="#clone-via-git-mirror" class="md-nav__link">
635
<span class="md-ellipsis">
636
637
Clone via Git (Mirror)
638
639
</span>
640
</a>
641
642
</li>
643
644
</ul>
645
</nav>
646
647
</li>
648
649
<li class="md-nav__item">
650
<a href="#next-steps" class="md-nav__link">
651
<span class="md-ellipsis">
652
653
Next Steps
654
655
</span>
656
</a>
657
658
</li>
659
660
</ul>
661
662
</nav>
663
664
</li>
665
666
667
668
669
</ul>
670
</nav>
671
672
</li>
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
<li class="md-nav__item md-nav__item--nested">
693
694
695
696
697
698
<input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_3" >
699
700
701
<label class="md-nav__link" for="__nav_3" id="__nav_3_label" tabindex="0">
702
703
704
705
<span class="md-ellipsis">
706
707
708
Architecture
709
710
711
712
</span>
713
714
715
716
<span class="md-nav__icon md-icon"></span>
717
</label>
718
719
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_3_label" aria-expanded="false">
720
<label class="md-nav__title" for="__nav_3">
721
<span class="md-nav__icon md-icon"></span>
722
723
724
Architecture
725
726
727
</label>
728
<ul class="md-nav__list" data-md-scrollfix>
729
730
731
732
733
734
735
736
<li class="md-nav__item">
737
<a href="../../architecture/overview/" class="md-nav__link">
738
739
740
741
<span class="md-ellipsis">
742
743
744
Overview
745
746
747
748
</span>
749
750
751
752
</a>
753
</li>
754
755
756
757
758
759
760
761
762
763
764
<li class="md-nav__item">
765
<a href="../../architecture/sync-bridge/" class="md-nav__link">
766
767
768
769
<span class="md-ellipsis">
770
771
772
Sync Bridge
773
774
775
776
</span>
777
778
779
780
</a>
781
</li>
782
783
784
785
786
</ul>
787
</nav>
788
789
</li>
790
791
792
793
</ul>
794
</nav>
795
</div>
796
</div>
797
</div>
798
799
800
801
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
802
<div class="md-sidebar__scrollwrap">
803
<div class="md-sidebar__inner">
804
805
806
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
807
808
809
810
811
812
813
<label class="md-nav__title" for="__toc">
814
<span class="md-nav__icon md-icon"></span>
815
Table of contents
816
</label>
817
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
818
819
<li class="md-nav__item">
820
<a href="#via-the-dashboard" class="md-nav__link">
821
<span class="md-ellipsis">
822
823
Via the Dashboard
824
825
</span>
826
</a>
827
828
</li>
829
830
<li class="md-nav__item">
831
<a href="#via-the-cli" class="md-nav__link">
832
<span class="md-ellipsis">
833
834
Via the CLI
835
836
</span>
837
</a>
838
839
</li>
840
841
<li class="md-nav__item">
842
<a href="#what-happens-under-the-hood" class="md-nav__link">
843
<span class="md-ellipsis">
844
845
What Happens Under the Hood
846
847
</span>
848
</a>
849
850
</li>
851
852
<li class="md-nav__item">
853
<a href="#accessing-your-repository" class="md-nav__link">
854
<span class="md-ellipsis">
855
856
Accessing Your Repository
857
858
</span>
859
</a>
860
861
<nav class="md-nav" aria-label="Accessing Your Repository">
862
<ul class="md-nav__list">
863
864
<li class="md-nav__item">
865
<a href="#web-ui" class="md-nav__link">
866
<span class="md-ellipsis">
867
868
Web UI
869
870
</span>
871
</a>
872
873
</li>
874
875
<li class="md-nav__item">
876
<a href="#clone-via-fossil" class="md-nav__link">
877
<span class="md-ellipsis">
878
879
Clone via Fossil
880
881
</span>
882
</a>
883
884
</li>
885
886
<li class="md-nav__item">
887
<a href="#clone-via-git-mirror" class="md-nav__link">
888
<span class="md-ellipsis">
889
890
Clone via Git (Mirror)
891
892
</span>
893
</a>
894
895
</li>
896
897
</ul>
898
</nav>
899
900
</li>
901
902
<li class="md-nav__item">
903
<a href="#next-steps" class="md-nav__link">
904
<span class="md-ellipsis">
905
906
Next Steps
907
908
</span>
909
</a>
910
911
</li>
912
913
</ul>
914
915
</nav>
916
</div>
917
</div>
918
</div>
919
920
921
922
<div class="md-content" data-md-component="content">
923
924
<article class="md-content__inner md-typeset">
925
926
927
928
929
930
931
932
933
<h1 id="creating-your-first-repository">Creating Your First Repository<a class="headerlink" href="#creating-your-first-repository" title="Permanent link">&para;</a></h1>
934
<p>Once fossilrepo is running, you can create your first Fossil repository.</p>
935
<h2 id="via-the-dashboard">Via the Dashboard<a class="headerlink" href="#via-the-dashboard" title="Permanent link">&para;</a></h2>
936
<ol>
937
<li>Log in at <code>http://localhost:8000</code></li>
938
<li>Navigate to <strong>Repositories</strong> in the sidebar</li>
939
<li>Click <strong>Create Repository</strong></li>
940
<li>Enter a name (e.g., <code>my-project</code>)</li>
941
<li>Click <strong>Create</strong></li>
942
</ol>
943
<p>The repository is immediately available at <code>my-project.your-domain.com</code> (production) or through the local Fossil server (development).</p>
944
<h2 id="via-the-cli">Via the CLI<a class="headerlink" href="#via-the-cli" title="Permanent link">&para;</a></h2>
945
<div class="highlight"><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="c1"># Inside the fossilrepo container</span>
946
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a>docker<span class="w"> </span>compose<span class="w"> </span><span class="nb">exec</span><span class="w"> </span>django<span class="w"> </span>python<span class="w"> </span>manage.py<span class="w"> </span>fossil_create<span class="w"> </span>my-project
947
</code></pre></div>
948
<p>This runs <code>fossil init</code>, registers the repo in the database, and (in production) Caddy automatically routes the subdomain.</p>
949
<h2 id="what-happens-under-the-hood">What Happens Under the Hood<a class="headerlink" href="#what-happens-under-the-hood" title="Permanent link">&para;</a></h2>
950
<pre class="mermaid"><code>sequenceDiagram
951
participant User
952
participant Django
953
participant Fossil
954
participant Litestream
955
participant S3
956
957
User-&gt;&gt;Django: Create repo "my-project"
958
Django-&gt;&gt;Fossil: fossil init /data/repos/my-project.fossil
959
Fossil--&gt;&gt;Django: Repository created
960
Django-&gt;&gt;Django: Register in database
961
Litestream-&gt;&gt;S3: Begin replicating my-project.fossil
962
Django--&gt;&gt;User: Repository ready</code></pre>
963
<h2 id="accessing-your-repository">Accessing Your Repository<a class="headerlink" href="#accessing-your-repository" title="Permanent link">&para;</a></h2>
964
<h3 id="web-ui">Web UI<a class="headerlink" href="#web-ui" title="Permanent link">&para;</a></h3>
965
<p>Fossil includes a built-in web interface with:</p>
966
<ul>
967
<li><strong>Timeline</strong> -- commit history with diffs</li>
968
<li><strong>Tickets</strong> -- issue tracker</li>
969
<li><strong>Wiki</strong> -- project documentation</li>
970
<li><strong>Forum</strong> -- discussions</li>
971
</ul>
972
<h3 id="clone-via-fossil">Clone via Fossil<a class="headerlink" href="#clone-via-fossil" title="Permanent link">&para;</a></h3>
973
<div class="highlight"><pre><span></span><code><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a>fossil<span class="w"> </span>clone<span class="w"> </span>https://my-project.your-domain.com<span class="w"> </span>my-project.fossil
974
<a id="__codelineno-1-2" name="__codelineno-1-2" href="#__codelineno-1-2"></a>fossil<span class="w"> </span>open<span class="w"> </span>my-project.fossil
975
</code></pre></div>
976
<h3 id="clone-via-git-mirror">Clone via Git (Mirror)<a class="headerlink" href="#clone-via-git-mirror" title="Permanent link">&para;</a></h3>
977
<p>If you've configured the sync bridge:</p>
978
<div class="highlight"><pre><span></span><code><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a>git<span class="w"> </span>clone<span class="w"> </span>https://github.com/your-org/my-project.git
979
</code></pre></div>
980
<div class="admonition warning">
981
<p class="admonition-title">Read-only mirror</p>
982
<p>Git mirrors are downstream copies. Push changes to the Fossil repo -- they'll sync to Git automatically.</p>
983
</div>
984
<h2 id="next-steps">Next Steps<a class="headerlink" href="#next-steps" title="Permanent link">&para;</a></h2>
985
<ul>
986
<li><a href="../../architecture/sync-bridge/">Configure the sync bridge</a> to mirror to GitHub/GitLab</li>
987
<li><a href="../configuration/#litestream-backups">Set up backups</a> with Litestream</li>
988
<li>Explore the <a href="../../architecture/overview/">architecture overview</a></li>
989
</ul>
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
</article>
1004
</div>
1005
1006
1007
<script>var tabs=__md_get("__tabs");if(Array.isArray(tabs))e:for(var set of document.querySelectorAll(".tabbed-set")){var labels=set.querySelector(".tabbed-labels");for(var tab of tabs)for(var label of labels.getElementsByTagName("label"))if(label.innerText.trim()===tab){var input=document.getElementById(label.htmlFor);input.checked=!0;continue e}}</script>
1008
1009
<script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script>
1010
</div>
1011
1012
<button type="button" class="md-top md-icon" data-md-component="top" hidden>
1013
1014
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8z"/></svg>
1015
Back to top
1016
</button>
1017
1018
</main>
1019
1020
<footer class="md-footer">
1021
1022
<div class="md-footer-meta md-typeset">
1023
<div class="md-footer-meta__inner md-grid">
1024
<div class="md-copyright">
1025
1026
<div class="md-copyright__highlight">
1027
Copyright &copy; 2026 CONFLICT LLC
1028
</div>
1029
1030
1031
Made with
1032
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
1033
Material for MkDocs
1034
</a>
1035
1036
</div>
1037
1038
1039
<div class="md-social">
1040
1041
1042
1043
1044
1045
1046
1047
1048
<a href="https://github.com/ConflictHQ/fossilrepo" target="_blank" rel="noopener" title="github.com" class="md-social__link">
1049
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path d="M173.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9M252.8 8C114.1 8 8 113.3 8 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C436.2 457.8 504 362.9 504 252 504 113.3 391.5 8 252.8 8M105.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2"/></svg>
1050
</a>
1051
1052
</div>
1053
1054
</div>
1055
</div>
1056
</footer>
1057
1058
</div>
1059
<div class="md-dialog" data-md-component="dialog">
1060
<div class="md-dialog__inner md-typeset"></div>
1061
</div>
1062
1063
1064
1065
1066
1067
<script id="__config" type="application/json">{"annotate": null, "base": "../..", "features": ["navigation.instant", "navigation.tabs", "navigation.sections", "navigation.expand", "navigation.top", "search.suggest", "search.highlight", "content.code.copy", "content.tabs.link", "header.autohide"], "search": "../../assets/javascripts/workers/search.2c215733.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": null}</script>
1068
1069
1070
<script src="../../assets/javascripts/bundle.79ae519e.min.js"></script>
1071
1072
1073
</body>
1074
</html>

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button