diff --git a/Dockerfile b/Dockerfile
index 2053de79..d867f267 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,6 +7,6 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
-EXPOSE 8000
+EXPOSE 80
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
\ No newline at end of file
diff --git a/README.md b/README.md
index 7d17f70b..6dec3a58 100644
--- a/README.md
+++ b/README.md
@@ -10,13 +10,13 @@ A full-feature version of Markup is available both via website and local install
### Online
-The online version of Markup can be found here (down temporarily).
+The online version of Markup can be found here.
### Local Server
#### Docker
-Run `docker run -p 8000:8000 samueldobbie/markup` and visit http://127.0.0.1:8000/.
+Run `docker run -d -p 80:8000 samueldobbie/markup` and visit http://127.0.0.1/.
#### Manual Installation
@@ -24,9 +24,9 @@ Run `docker run -p 8000:8000 samueldobbie/markup` and visit http://127.0.0.1:8000/.
+3. Visit http://127.0.0.1/.
-For futher use, the local server can be started directly by running `python manage.py runserver`.
+For futher sessions, the local server can be started directly by running `python manage.py runserver 0.0.0.0:80`.
## Documentation
diff --git a/setup.py b/setup.py
index 7711dd86..12ea98a1 100644
--- a/setup.py
+++ b/setup.py
@@ -5,9 +5,9 @@ def setup():
print('pip3 has not been installed or you are using 32-bit Python instead of 64-bit.')
return
- if os.system('python3 manage.py runserver') == 0:
+ if os.system('python3 manage.py runserver 0.0.0.0:80') == 0:
os.system('python3 manage.py migrate')
- elif os.system('python manage.py runserver') == 0:
+ elif os.system('python manage.py runserver 0.0.0.0:80') == 0:
os.system('python manage.py migrate')
else:
print('Error: Python3 has not been installed.')