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.
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.
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).
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.