Skip to content

Commit 9620423

Browse files
authored
Merge pull request #139 from HDI-Project/update
Merge Update to Milestone122
2 parents 815c8b9 + c34fe2b commit 9620423

File tree

5 files changed

+8
-12
lines changed

5 files changed

+8
-12
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ ADD . /mtv
5050
WORKDIR /mtv
5151

5252
# install application packages for python and node
53-
RUN make install-theme
5453
RUN make install
5554
RUN cd ./client && npm install && npm run build:prod
5655

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ install: clean-build clean-pyc clean-client ## install the packages for running
4040
.PHONY: install-develop
4141
install-develop: clean-build clean-pyc clean-client ## install the package in editable mode and dependencies for development
4242
pip install -e .[dev]
43-
# npm install --quiet -g gulp-cli
4443
cd client && npm install
4544

4645
.PHONY: install-theme

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
<!-- [![PyPI Shield](https://img.shields.io/pypi/v/mtv.svg)](https://pypi.python.org/pypi/mtv) -->
77
[![Build Status](https://travis-ci.com/dyuliu/mtv.svg?branch=master)](https://travis-ci.com/dyuliu/mtv)
88
[![Coverage Status](https://coveralls.io/repos/github/dyuliu/MTV/badge.svg)](https://coveralls.io/github/dyuliu/MTV)
9-
9+
[![Github All Releases](https://img.shields.io/github/downloads/dyuliu/MTV/total)](https://github.com/dyuliu/MTV/releases)
10+
[![Docker Pulls](https://img.shields.io/docker/pulls/dyuliu/mtv)](https://hub.docker.com/r/dyuliu/mtv)
1011

1112
# MTV
1213

@@ -21,7 +22,6 @@ The Restful APIs documentation: http://45.77.5.58/apidoc/
2122
[The MIT License](https://github.com/HDI-Project/MTV/blob/master/LICENSE)
2223

2324

24-
2525
## Before You Begin
2626

2727
Before you begin we recommend you read about the basic building blocks that assemble the **MTV**:

docker-compose-db.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3"
22
services:
33
db:
44
image: mongo:4.0
5-
container_name: mtv-db
5+
container_name: mtv_db
66
command: bash -c "mongod --bind_ip_all --port 27017 --logpath /mtv/log/db.log --fork && mongorestore --db mtv /mtv/data/mtv/"
77
volumes:
88
- ./db-instance/data:/mtv/data

docker-compose.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,23 @@ version: "3"
22
services:
33
db:
44
image: mongo:4.0
5-
container_name: mtv-db
5+
container_name: mtv_db
66
ports:
77
- "127.0.0.1:27018:27017"
8-
# command: mongod --port 27017 --dbpath /mtv/db-instance/data --logpath /mtv/db-instance/log/db.log --fork
9-
# command: bash -c "mongod --bind_ip_all --port 27017 --logpath /mtv/log/db.log --fork && tail -F xx"
10-
# command: bash -c "mongod --bind_ip_all --port 27017 --logpath /mtv/log/db.log --fork && mongorestore --db mtv /mtv/dump/mtv/ && tail -F anything"
118
command: bash -c "mongod --bind_ip_all --port 27017 --logpath /mtv/log/db.log --fork && tail -F anything"
129
volumes:
1310
- ./db-instance/data:/mtv/data
1411
- ./db-instance/log:/mtv/log
1512
- ./db-instance/dump:/mtv/dump
16-
web:
17-
image: mtv
13+
app:
14+
image: dyuliu/mtv:latest
1815
# build: .
19-
container_name: mtv
16+
container_name: mtv_app
2017
depends_on:
2118
- db
2219
ports:
2320
- "3000:3000"
2421
command: mtv run --env production -v --docker
22+
# command: bash -c "npm -C client run build:prod && mtv run --env production -v --docker"
2523
# volumes:
2624
# - .:/mtv

0 commit comments

Comments
 (0)