Skip to content

InumberX/after_works-v006

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

After Works.

GitHub release (with filter) GitHub Release Date - Published_At GitHub last commit (by committer) GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests

Overview

This repository is my portfolio site.
https://afterworks.jp/

Structure Diagram

Structure Diagram

Development with Node.js

Start a shell such as PoworShell and navigate to the root of the project.

Installing packages

Install the Node.js package.

yarn install

Execution of development tasks

Execute the following command.

yarn dev

The following URL will take you to the screen.

http://localhost:3000/

  • Press "Ctrl + C" to stop

Syntax Check

yarn lint

Formatter

Check

yarn prettier

Check and Format

yarn prettier:fix

Formatter (SCSS)

Check

yarn stylelint

Check and Format

yarn stylelint:fix

Development with Docker

Start a shell such as PoworShell and navigate to the root of the project.

Launching Containers

The container is started by executing the following command.

docker compose up -d

Installing packages

Install the Node.js package.

docker compose exec frontend yarn install

Execution of development tasks

Execute the following command.

docker compose exec frontend yarn dev

The following URL will take you to the screen.

http://localhost:3000/

  • Press "Ctrl + C" to stop

Stopping Containers

Execute the following command to stop the container.

docker compose down

Syntax Check

docker compose exec frontend yarn lint

Formatter

Check

docker compose exec frontend yarn prettier

Check and Format

docker compose exec frontend yarn prettier:fix

Formatter (SCSS)

Check

docker compose exec frontend yarn stylelint

Check and Format

docker compose exec frontend yarn stylelint:fix