/varunest.com

Node app for varunest.com

Primary LanguageJavaScript

Copyright (c) Varun Verma

Hi, I'm Varun and this is the source code for my blog, https://varunest.com. Feel free to browse the source and ask me questions.

Run it

Install dependencies

Please note that on Mojave install-system-deps will fail if you do not have installed Ruby using HomeBrew. Follow this guide to install Jekyll before running following commands.

npm install
npm run install-system-deps # macOS only

Fix ruby issue for using older ffi version using webrick as mentioned here in solution solution

Build site

npm run build

Start server

npm start

Start development server

npm run watch

Run tests

npm test

Publish site

npm run deploy

On the server, I serve the generated files with nginx and run the Node.js app using Supervisord (to restart the app if it crashes).

That's pretty much it.

License

Copyright (c) Varun Verma