Oh ho ho im lapickett and i like data science
Assuming you have Linux or Windows Subsystem for Linux (WSL) installed, you can install a webserver program like nginx or apache with your package manager.
For the following command line snippet, we assume you are running Ubuntu and want to use the nginx webserver.
- Install the nginx webserver.
sudo apt update
sudo apt install nginx -y
- Start the nginx webserver.
service nginx status
sudo service nginx start
-
Open
localhost:80
in your web browser to see if nginx installed and run properly. You should see a webpage that thanks you for using nginx. -
Copy the website files over to the /var/www/html/ folder.
cd Red-Alliance/
sudo cp * /var/www/html/
-
Reload the web page, you should see your index.html hosted.
-
That's all! If you want to update your webpage, just repeat Step 4 to update the webserver files.