Skip to content

Team-StarGarden/darakbang-engine

Repository files navigation

Darakbang Engine

설명 추가 예정

Dependencies

MariaDB Connector

이 프로젝트는 Diesel 로 인해 MariaDB C 커넥터가 필요합니다.

다음 명령어로 설치합니다:

Linux

# RHEL family (include CentOS, Fedora...)
sudo dnf install mariadb-devel

# Debian family (include Ubuntu, Linux Mint...)
sudo apt install mariadb-dev

# Arch Linux Family (include Manjaro, MSYS2... etc)
sudo pacman -S mariadb-libs

macOS with Homebrew

brew install mariadb

Windows

여기를 참조하세요.

Prepare Database

Create Database

utf8mb4로 생성된 DB를 생성합니다.

CREATE DATABASE darakbang CHARSET utf8mb4;

Create tables

# Install Diesel CLI.
cargo install diesel_cli --no-default-features --features mysql
diesel migration run

Import words

단어 데이터를 임포트 합니다.

# On macOS, Linux and PowerShell
wget https://cdn.star.garden/res/darakbang-words.sql
mysql -u (DB 사용자) -p darakbang
source darakbang-words.sql

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •