+5
-5
src/pages/installation.astro
+5
-5
src/pages/installation.astro
···
11
<li>Medium terminal knowledge</li>
12
</ul>
13
<h2>Installing dependecies + running the app</h2>
14
-
Run <pre>npm i</pre> if you are on Node.js or <pre>bun i</pre> if you are on
15
Bun.
16
<br />
17
-
After that, run <pre>npm start</pre> (or <pre>bun start</pre>) and you
18
should be able to access Skittr on port 3000!
19
<h2>Environment variables</h2>
20
<ul>
21
<li>
22
-
<pre>PORT</pre> - the port that Skittr will be listening on other than
23
3000 (which is used by default)
24
</li>
25
<li>
26
-
<pre>PUBLIC_URL</pre> - the public URL of your Skittr instance, it's
27
recommended to set it up if you plan on hosting it on the public network
28
</li>
29
<li>
30
-
<pre>SESSION_SECRET</pre> - the session secret used for cookies, it's
31
a randomized string so feel free to type any string value to it. You
32
can even use a keyboard smash!
33
<br />
···
11
<li>Medium terminal knowledge</li>
12
</ul>
13
<h2>Installing dependecies + running the app</h2>
14
+
Run <code>npm i</code> if you are on Node.js or <code>bun i</code> if you are on
15
Bun.
16
<br />
17
+
After that, run <code>npm start</code> (or <code>bun start</code>) and you
18
should be able to access Skittr on port 3000!
19
<h2>Environment variables</h2>
20
<ul>
21
<li>
22
+
<code>PORT</code> - the port that Skittr will be listening on other than
23
3000 (which is used by default)
24
</li>
25
<li>
26
+
<code>PUBLIC_URL</code> - the public URL of your Skittr instance, it's
27
recommended to set it up if you plan on hosting it on the public network
28
</li>
29
<li>
30
+
<code>SESSION_SECRET</code> - the session secret used for cookies, it's
31
a randomized string so feel free to type any string value to it. You
32
can even use a keyboard smash!
33
<br />