# Default hosting
- The src folder of this project contains a full working version for the website
- Let's first upload this development version to your hosting
# FTP hosting
- If you use a regular FTP hosting (like sinners.be (opens new window)), upload the content of the src folder to the root (the public_html folder) of your hosting
IMPORTANT
- You can only upload the content to the root of your hosting (e.g.
https://yourName.sinners.be
) because some files, like the navigation component, contain absolute links - If you upload the content to a subfolder (e.g.
https://yourName.sinners.be/javascript/
) these links don't work anymore!
# Netlify hosting
- Remove the reference to the current repo by deleting the .git folder from this project
- Make your own (private) repo on GitHub
- Make a local repo of the current project and push it to the main branch of the GitHub repo
- Start a new Netlify site
- Link to your GitHub repo
- Leave the Build command empty
- Set the Publish directory to src
- In a few seconds, your website is online
# Lighthouse report
- Open the online version of the website in Chrome
- Open DevTools and generate a Lighthouse report for mobile devices
- As the report indicates, we still have some optimizing to do!
- Let's optimize the site in the next step: the production release