Skip to content

Tatsurou-Yajima/markdown-blog

Repository files navigation

markdown-blog-top-image

Overview

This i a markdown blog built with Next.js.

Here is the website in operation.

https://yajima.sytes.net

image

Usage

When running in your local environment, please execute the following command.

1. Install packages

npm i

2. Start local server

npm run dev

3. Create .env.local

Create .env.local file in the root directory.

The .env.local file you create will contain your information.

Refer to your existing .env file and include your account information, etc.

The .env.local file is not Git managed and will always overwrite the contents of the existing .env file.

image

4. Access the Web site

http://localhost:3000

How to manage packages

Within this program, I use a library called npm-check-updates.

https://github.com/raineorshine/npm-check-updates

1. Displays the current version

ncu

2. Update package.json

ncu -u

3. Install

npm i