diff --git a/README.md b/README.md index f984485..c47edba 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,17 @@ # Portfolio + +- [Portfolio](#portfolio) + - [About it](#about-it) + - [What about the design ?](#what-about-the-design) + To view the website, click [here](https://hexasec.io). ## About it -This portfolio is a single simple web page, and I intend to keep it that way : -* It is easier for me to maintain -* I pretty much hate web dev, so I have to keep things simple - -The website itself has the sole goal to get to know my projects, my skills and where to contact me, so it doesn't need much. +This portfolio is a Haskell web project, but it used to be a single simple web page, why this change ? +* I discovered Haskell, and I wanted to see how it could be used to handle web dev +* I wanted to protect the portfolio for unwanted (and pretty simple) web scrapping, so I had to put things on server side ## What about the design ? diff --git a/app/Main.hs b/app/Main.hs index cd85a32..e12ef4c 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -14,7 +14,7 @@ import qualified Routes main :: IO () main = do - port <- read <$> getEnv "PORT" `catch` \(_ :: IOError) -> return "3000" + port <- read <$> getEnv "PORT" `catch` \(_ :: IOError) -> return "8080" putStrLn $ "Starting server on port " ++ show port scotty port $ do middleware logStdoutDev