Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kodex
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
kodex
Commits
3006076e
Commit
3006076e
authored
Feb 22, 2017
by
axuan25
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
README and make target for pull
parent
84b5588b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
6 deletions
+22
-6
Makefile
Makefile
+10
-5
README.md
README.md
+7
-0
deploy-prod.sh
deploy-prod.sh
+1
-1
down.sh
down.sh
+4
-0
No files found.
Makefile
View file @
3006076e
.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
README.md
View file @
3006076e
...
...
@@ -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
...
...
deploy-prod.sh
View file @
3006076e
...
...
@@ -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
down.sh
0 → 100755
View file @
3006076e
#!/bin/bash
echo
"Downing Botapadd including volumes."
docker-compose down
-v
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment