douyin-mall-java-template
ใStar us and watch this project grow! ๐ฑโญ๏ธใA Spring Boot-based e-commerce microservices template with comprehensive setup guides. Ideal for learning microservices architecture and building scalable e-commerce applications. Features include user authentication, product management, order processing, and AI integration capabilities.
ํ์ผ ํ์๊ธฐ
- chan-meng-logo.svg
- bug_report.md
- config.yml
- feature_request.md
- FUNDING.yml
- PULL_REQUEST_TEMPLATE.md
- maven-wrapper.properties
- DouyinMallJavaTemplateApplication.java
- application.properties.example
- DouyinMallJavaTemplateApplicationTests.java
- .gitattributes
- .gitignore
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- GOVERNANCE.md
- LICENSE
- mvnw
- mvnw.cmd
- pom.xml
- README.md
- README.zh-CN.md
- SECURITY.md
- SUPPORT.md
# CDN์ผ๋ก ์ฌ์ฉํ๊ธฐ
jsDelivrjsDelivr๋ ๊ณต๊ฐ GitHub ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ๋ณ๋ ์ค์ ์์ด CDN์ผ๋ก ์ฆ์ ์๋นํฉ๋๋ค. ๋ฒ์ ๊ณผ ํ์ผ์ ๊ณ ๋ฅด๋ฉด ์นํ์ด์ง์ ๋ฐ๋ก ๋ถ์ผ ์ ์๋ ๋งํฌ์ ์์ ์ฝ๋๊ฐ ๋ง๋ค์ด์ง๋๋ค.
๋ช ๋ น์ด ์ฉ์ด์ง
์ด ๋ฌธ์์์ ์ฌ์ฉ๋ ๋ช ๋ น์ด๋ฅผ ๋ชจ์๋ดค์ต๋๋ค. ๋ฏ์ ๋ช ๋ น์ด๊ฐ ์๋ค๋ฉด ํผ์ณ์ ํ์ธํด๋ณด์ธ์.
brew install
์ค๋ช
๋ณด๊ธฐ โผ
brew install
Install a Homebrew formula or cask.
brew install {{formula|cask}}
Install a formula/cask:
brew install {{[-s|--build-from-source]}} {{formula}}
Build and install a formula from source (dependencies will still be installed from bottles):
brew install {{[-n|--dry-run]}} {{formula|cask}}
Download the manifest, print what would be installed but don't actually install anything:
docker build
์ค๋ช
๋ณด๊ธฐ โผ
docker build
Build an image from a Dockerfile.
docker build .
Build a Docker image using the Dockerfile in the current directory:
docker build {{github.com/creack/docker-firefox}}
Build a Docker image from a Dockerfile at a specified URL:
docker build {{[-t|--tag]}} {{name:tag}} .
Build a Docker image and tag it:
docker run
์ค๋ช
๋ณด๊ธฐ โผ
docker run
This command is an alias of `docker container run`.
tldr docker container run
View documentation for the original command:
git checkout
์ค๋ช
๋ณด๊ธฐ โผ
git checkout
Checkout a branch or paths to the working tree.
git checkout -b {{branch_name}}
Create and switch to a new branch:
git checkout -b {{branch_name}} {{reference}}
Create and switch to a new branch based on a specific reference (branch, remote/branch, tag are examples of valid references):
git checkout {{branch_name}}
Switch to an existing local branch:
git clone
์ค๋ช
๋ณด๊ธฐ โผ
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
java
์ค๋ช
๋ณด๊ธฐ โผ
java
Java ์ ํ๋ฆฌ์ผ์ด์
์คํ๊ธฐ.
๋ ๋ง์ ์ ๋ณด: <https://docs.oracle.com/en/java/javase/25/docs/specs/man/java.html>.
java {{classname}}
๋ฉ์ธ ๋ฉ์๋๋ฅผ ํฌํจํ Java `.class` ํ์ผ์ ํด๋์ค ์ด๋ฆ๋ง ์ฌ์ฉํ์ฌ ์คํ:
java -classpath {{path/to/classes1}}:{{path/to/classes2}}:. {{classname}}
์ถ๊ฐ ์๋ํํฐ ๋๋ ์ฌ์ฉ์ ์ ์ ํด๋์ค๋ฅผ ์ฌ์ฉํ์ฌ Java ํ๋ก๊ทธ๋จ ์คํ:
java -jar {{filename.jar}}
`.jar` ํ๋ก๊ทธ๋จ ์คํ:
lsof
์ค๋ช
๋ณด๊ธฐ โผ
lsof
์ด๋ฆฐ ํ์ผ๊ณผ ์์ํ๋ ํ๋ก์ธ์ค๋ค์ ๋์ดํฉ๋๋ค.
์ฐธ๊ณ : ๋ค๋ฅธ ์ฌ๋์ผ๋ก๋ถํฐ ์ด๋ฆฐ ํ์ผ ๋ฆฌ์คํธ๋ ๋ฃจํธ ๊ถํ ( ํน์ sudo ) ์ด ์๊ตฌ๋ฉ๋๋ค.
๋ ๋ง์ ์ ๋ณด: <https://manned.org/lsof>.
lsof {{path/to/file}}
์ฃผ์ด์ง ํ์ผ์ ์ด๊ณ ์๋ ํ๋ก์ธ์ค ์ฐพ๊ธฐ:
lsof -i :{{port}}
๋ก์ปฌ ์ธํฐ๋ท ํฌํธ๋ฅผ ์ด๊ณ ์๋ ํ๋ก์ธ์ค ์ฐพ๊ธฐ:
lsof -t {{path/to/file}}
ํ๋ก์ธ์ค ์์ด๋ (PID)๋ง ์ถ๋ ฅ:
mvn
์ค๋ช
๋ณด๊ธฐ โผ
mvn
Apache Maven: Java ๊ธฐ๋ฐ ํ๋ก์ ํธ๋ฅผ ๋น๋ํ๊ณ ๊ด๋ฆฌ.
๋ ๋ง์ ์ ๋ณด: <https://manned.org/mvn>.
mvn compile
ํ๋ก์ ํธ ์ปดํ์ผ:
mvn package
์ปดํ์ผ๋ ์ฝ๋๋ฅผ `jar`์ ๊ฐ์ ๋ฐฐํฌ ๊ฐ๋ฅํ ํ์์ผ๋ก ํจํค์ง:
mvn package {{[-D|--define]}} skipTests
์ ๋ ํ ์คํธ๋ฅผ ๊ฑด๋๋ฐ๊ณ ์ปดํ์ผ ๋ฐ ํจํค์ง:
mysql
์ค๋ช
๋ณด๊ธฐ โผ
mysql
MySQL ๋ช
๋ น์ค ๋๊ตฌ.
๋ ๋ง์ ์ ๋ณด: <https://manned.org/mysql>.
mysql {{database_name}}
๋ฐ์ดํฐ๋ฒ ์ด์ค์ ์ฐ๊ฒฐ:
mysql {{[-u|--user]}} {{user}} {{[-p|--password]}} {{database_name}}
๋ฐ์ดํฐ๋ฒ ์ด์ค์ ์ฐ๊ฒฐํ๊ณ , ๋น๋ฐ๋ฒํธ ์ ๋ ฅ ์์ฒญ:
mysql {{[-h|--host]}} {{database_host}} {{database_name}}
๋ค๋ฅธ ํธ์คํธ์ ๋ฐ์ดํฐ๋ฒ ์ด์ค์ ์ฐ๊ฒฐ:
nano
์ค๋ช
๋ณด๊ธฐ โผ
nano
๋ช
๋ น์ค ํ
์คํธ ํธ์ง๊ธฐ. ํฅ์๋ `Pico` ํด๋ก .
๊ด๋ จ ํญ๋ชฉ: `pico`, `rnano`.
๋ ๋ง์ ์ ๋ณด: <https://nano-editor.org/dist/latest/nano.html>.
nano {{path/to/file1 path/to/file2 ...}}
ํธ์ง๊ธฐ ์์:
nano {{[-I|--ignorercfiles]}}
์ค์ ํ์ผ์ ์ฌ์ฉํ์ง ์๊ณ ํธ์ง๊ธฐ ์์:
nano +{{line}},{{column}} {{path/to/file}}
ํน์ ํ์ผ ์ด๊ธฐ, ์ด์ ํ์ผ์ ๋ซ์ผ๋ฉด ๋ค์ ํ์ผ๋ก ์ด๋:
netstat
์ค๋ช
๋ณด๊ธฐ โผ
netstat
๋คํธ์ํฌ ๊ด๋ จ ์ ๋ณด(์ด๋ ค ์๋ ์ฐ๊ฒฐ, ์์ผ ํฌํธ ๋ฑ) ํ์.
๊ด๋ จ ํญ๋ชฉ: `ss`.
๋ ๋ง์ ์ ๋ณด: <https://manned.org/netstat>.
netstat {{[-a|--all]}}
๋ชจ๋ ํฌํธ ๋์ด:
netstat -p {{protocol}}
ํน์ ํ๋กํ ์ฝ์ ์์ ์ค์ธ PID์ ํ๋ก๊ทธ๋จ ์ด๋ฆ ํ์:
netstat
ํ์ฑ TCP ์ฐ๊ฒฐ ํ์:
apt-get
์ค๋ช
๋ณด๊ธฐ โผ
apt-get
Debian ๋ฐ Ubuntu ํจํค์ง ๊ด๋ฆฌ ๋๊ตฌ.
`apt-cache`๋ฅผ ์ฌ์ฉํ์ฌ ํจํค์ง๋ฅผ ๊ฒ์ํ์ธ์.
Ubuntu 16.04 ์ดํ ๋ฒ์ ์์๋ ๋ํํ ์ฌ์ฉ ์ `apt` ์ฌ์ฉ์ ๊ถ์ฅํฉ๋๋ค.
๋ ๋ง์ ์ ๋ณด: <https://manned.org/apt-get.8>.
sudo apt-get update
์ฌ์ฉ ๊ฐ๋ฅํ ํจํค์ง ๋ฐ ๋ฒ์ ๋ชฉ๋ก ์ ๋ฐ์ดํธ (๋ค๋ฅธ `apt-get` ๋ช ๋ น์ด ์คํ ์ ์ ๊ถ์ฅ๋จ):
sudo apt-get install {{package}}
ํจํค์ง ์ค์น ๋๋ ์ต์ ๋ฒ์ ์ผ๋ก ์ ๋ฐ์ดํธ:
sudo apt-get remove {{package}}
ํจํค์ง ์ ๊ฑฐ:
systemctl status
์ค๋ช
๋ณด๊ธฐ โผ
systemctl status
Display the status of systemd units.
systemctl status {{unit}}.{{service|timer|socket|target|...}}
Show the status of a systemd unit:
systemctl status --failed
Show the status of failed units:
systemctl status
List all running services:
