Commit 3006076e authored by axuan25's avatar axuan25

README and make target for pull

parent 84b5588b
.PHONY: install docker-build docker-push
.PHONY: install docker-build docker-push docker-pull
install:
mkdir -p ./static/images/
......@@ -14,13 +14,18 @@ docker-build:
@echo "\n --------------------"
@echo " * Building Docker images"
@echo " --------------------\n"
# mkdir -p ./static/images/
# wget https://github.com/Semantic-Org/Semantic-UI-CSS/archive/master.zip -O static/master.zip
# cd ./static && unzip -o master.zip
docker-compose -f docker-compose.yml build
docker-push:
@echo "\n --------------------"
@echo " * Pushing images to PDG registry"
@echo " --------------------\n"
docker-compose -f docker-compose.yml push
\ No newline at end of file
docker-compose -f docker-compose.yml push
docker-pull:
@echo "\n --------------------"
@echo " * Pulling images from PDG registry"
@echo " --------------------\n"
docker-compose -f docker-compose.yml pull
\ No newline at end of file
......@@ -8,8 +8,15 @@ Import data in padagraph.io
## Installation
# Native:
$ pip install -r requirements.txt
# Docker:
$ make docker-build
$ make docker-push # unncessary if on same host as build
$ make docker-pull # unncessary if on same host as build
$ ./deploy-prod.sh
# Command Line
* import from file or URL
......
......@@ -6,5 +6,5 @@
PROJECT="botapadd-prod"
#docker-compose -f docker-compose.yml pull
docker-compose -f docker-compose.yml up --force-recreate -d
docker-compose -f docker-compose.yml up --no-build force-recreate -d
docker-compose logs -ft
#!/bin/bash
echo "Downing Botapadd including volumes."
docker-compose down -v
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment