mirror of
https://github.com/eosswedenorg/apt
synced 2026-07-03 11:53:42 +02:00
Adding _includes/setup-instructions.html
This commit is contained in:
parent
94d9f94b92
commit
8921917325
1 changed files with 40 additions and 0 deletions
40
_includes/setup-instructions.html
Normal file
40
_includes/setup-instructions.html
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
|
||||||
|
{% assign setup-instructions_repo = include.repo | default: eosio %}
|
||||||
|
{% assign setup-instructions_dist = include.distribution | default: "`lsb_release -cs`" %}
|
||||||
|
|
||||||
|
{% if include.collapse %}
|
||||||
|
<h2>Setup - <a href="#" class="collapse-trigger" data-target="setup-window">Show</a></h2>
|
||||||
|
|
||||||
|
<div id="setup-window" class="collapsed">
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<p>First you need to make sure some packages are installed and that our <code>gpg</code> key is added to <code>apt</code>:</p>
|
||||||
|
|
||||||
|
{% highlight bash %}
|
||||||
|
$ sudo apt-get install software-properties-common
|
||||||
|
$ curl https://{{ site.apt.domain }}/key 2> /dev/null | sudo apt-key add -
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
|
<p>Then you can add one or more of your repositories:</p>
|
||||||
|
|
||||||
|
{% include apt-add.html
|
||||||
|
repo=setup-instructions_repo
|
||||||
|
distribution=setup-instructions_dist
|
||||||
|
components="stable"
|
||||||
|
update=true %}
|
||||||
|
|
||||||
|
<p>The url is structures as follows:</p>
|
||||||
|
|
||||||
|
{% highlight html %}
|
||||||
|
https://{{ site.apt.domain }}/<repository> <distribution> <component> [ <component1> ] [ <componentN> ]
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
|
<p>
|
||||||
|
one <code>repository</code>, <code>distribution</code> and one or more <code>components</code> needs to be specified.
|
||||||
|
These are explained in detail <a href="{{ "/help" | absolute_url }}">here</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{% if include.collapse %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue