Skip to content

Commit

Permalink
small update to contrig. guide page
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-Miner committed Oct 24, 2024
1 parent 2f4e626 commit cec8cc1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM nginx

COPY . /usr/share/nginx/html

EXPOSE 80
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: '1.0'
services:
nginx:
build: .
ports:
# host : container
- "8081:80"
volumes:
- .:/usr/share/nginx/html
6 changes: 5 additions & 1 deletion misc/how-to-contribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,13 @@ <h3>Requirements:</h3>
</li>
</ul>
<h3>Optional</h3>
<span>A web server is required to load the page and all its components. <br> Docker setup: Open temrinal in the project's folder and type <span class="codeBlock">docker-compose up --build</span> to create a container running on port 8081</span>
<ul>
<li>
<a href="https://simplewebserver.org/" target="_blank" rel="noopener noreferrer">Local web-server</a> is needed to run the wiki on your machine, but not required to edit articles.
<a href="https://www.docker.com/" target="_blank" rel="noopener noreferrer">Docker</a>
</li>
<li>
<a href="https://simplewebserver.org/" target="_blank" rel="noopener noreferrer">Local web-server</a>
</li>
</ul>
</article>
Expand Down

0 comments on commit cec8cc1

Please sign in to comment.