My very own flexible portfolio
First clone this repository, and enter the just-created directory ThisIsMe.
To build the website using docker, first make sure that the Docker daemon is running.
systemctl start docker.service # Requires sudoThen, run the following commands:
port=3000 # Change this to whatever port you want to use to acces the website
docker build -f Dockerfile --tag thisisme . # This will take 10-15 minutes
docker create --name=thisisme -p $port:3000 thisismeLuckly, docker cashes most of these steps.
First, make sure you have installed stack or cabal. If you do not have one of
them installed yet, do so through ghcup.
Then, just run stack build or cabal build. The website will be build, which
can take 10-15 minutes.
This assumes you are still in the ThisIsMe directory.
docker start thisisme # Add the -i flag to print outputNow visit localhost:{port} where {port} should be replaced with the port
you chose earlier, and you should see the home page!
Run stack run or cabal run. That's it!
Visit localhost:3000, and you should see the home page.
- Research minimalising the docker image by using haskell-scratch as the final parent image.
- Make thumbnails even smaller, and perhaps also the original pictures to 2k(1600xY). Use webp?
- Generate smaller versions of thumbnails through pipeline
- Apply linter
- Implement pipeline to generate thumbnails, process image orientations
- Specify canonical link and/or
noindexmeta attribute - Syntax highlighting
- Convert this to a static website generator?
- Make the projects page dynamic