niemal / blog-diary

My own blog/diary platform with next.js and styled-components.

Home Page:https://niemal.dev/blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is my first Next.js project bootstrapped with create-next-app. It serves as my own blog & diary platform which you can check here https://niemal.dev/blog.

Getting Started

First you should edit config.json with your local area network IP i.e. 192.168.1.180. Then you can:

npm run dev
# or
yarn dev

Open http://lan-ip:3000 with your browser to see the result.

Production

Don't forget to add a .env file with a BLOG_DIARY_PW password variable for mailing service on new post. i.e.

BLOG_DIARY_PW = "my_secret_auth_token"

Edit the clean_tests.sh with the information you seem necessary and proceed to build and deploy (I run my own with pm2 and nginx).

Learn More

To learn more about Next.js, take a look at the following resources:

About

My own blog/diary platform with next.js and styled-components.

https://niemal.dev/blog


Languages

Language:JavaScript 98.2%Language:Shell 1.8%