Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 841 Bytes

README.md

File metadata and controls

51 lines (32 loc) · 841 Bytes

TagFans on Docker

Docker for Tagfans development.

Installation

Please install docker engine and docker-compose command first.

Usage

Download source into your project.

$ cd  your_project_path
$ git clone https://github.com/tagfans/docker.git
$ cd docker

Import MySQL Data

Open your terminal and execute the following command.

$ mysql -h 127.0.0.1 -u tagfans -p tagfans < db.sql

default password is tagfans.

Start container

Start all application containers (Node, Mysql and Redis)

$ docker-compose up -d

Stop container

Stop all application containers

$ docker-compose stop

Remove container

Remove all application containers

$ docker-compose down