I made a new website. The idea is to create a IT technician information website. Something for those looking to get into system administration or network administration, but not really knowing where to start. The idea is to write some posts and code some useful tools for those looking to get on the Internet, whether that be by running a web-server, or improving their home routing, or setting up an IPv6 tunnel.
The site is a static html site running off a very low power VPS. It can handle a decent amount of traffic, but if it ever got a reddit hug of death or got slashdotted, it would probably become unaccessible fairly quickly. Setting up nginx was about all that needed to be done on the server side to get the site up and running.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Nothing too fancy. The collections() part allows me to create an array of all the markdown posts which I can then input into the handlebars.js templates to create an all posts page.
There is a source/ directory, which the above build.js takes, runs the above functions on and spits out into a build/ directory.