Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.32 KB

README.md

File metadata and controls

52 lines (41 loc) · 1.32 KB

BOOK COMMUNITY - WEBSITE

INFOMATION

This is a system for storing books and stories for everyone. Combine APIs for other platforms to use. It is programmed from Express JS - MySQL. Using Docker technology to optimize installation.

AUTHORS

  • chenjiinguyen
  • NhuQuynh0711
  • xuankim
  • sonkoi24112

OTHER PLATFORMS

LINK

REQUIREMENT

  • Docker

SETUP

After cloning the project, you need to run the commands below for the project to work. And only need to run once after cloning.

FOR WINDOWS

copy .env.example .env
copy mysql\BOOKCOMMUNITY.sql.example mysql\BOOKCOMMUNITY.sql
win\dos2unix.exe app\run.sh

FOR MACOS/LINUX

cp .env.example .env
cp mysql/BOOKCOMMUNITY.sql.example mysql/BOOKCOMMUNITY.sql

START SERVER

For the first run

docker compose up --build

From the 2nd run onwards

docker compose up