i will attempt to make a good website
If you ever want to self-host my website. You're gonna need python, and possibly even other stuff like ngnix if you are hosting it publicly, and if you are hosting it publicly please make sure you cannot see others public ip address. This is for privacy and so if I check it out you cannot leak my ip, basically don't make your fork of my website a ip grabber (sounds like something galaticlemonade would do). I am not an expert at self-hosting, it's best if you figure it out by asking questions, use StackOverFlow, use Youtube, etc.
If you are going to self-host this repo exactly, don't waste your time making it public. you can make your forks (with different code than mine) public, just abide by the license
Step 1: download python
. you can do this using choco install python
, or using scoop install main/python
, or use apt-get:
sudo apt-get update
sudo apt-get install python3.6
or just figure it out on your own!
Step 2: run this command: python -m http.server
or python3 -m http.server
. this will serve your website over http, on your pc's localhost, on port 8000. if you, for example, want to test your website on mobile to see if it works on small screens, you can find your localhost on windows by running ipconfig
in cmd, or on ubuntu you can run ip address
to find your local ip. if you want to test your website on your computer that you are running the server on it is as simple as putting in localhost:8000
into your address bar.