Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hervé MENAGER
bioweb
Commits
d62f53c6
Commit
d62f53c6
authored
Sep 06, 2016
by
Eric DEVEAUD
Browse files
port to BIODOCS.yaml
parent
060e575d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
gensoft/Makefile
0 → 100644
View file @
d62f53c6
NAM
=
biodocs2mongo
PREFIX
=
/local/gensoft2/adm
BIN
=
$(PREFIX)
/bin
PYMODULEDIR
=
$(PREFIX)
/share/gensoft/pymodules
DAT
=
$(PREFIX)
/share/gensoft/
$(NAM)
build
:
sed
-i
-e
's,^\#!.*python,\#! /local/gensoft2/adm/bin/python,'
*
.py
sed
-e
's|^DAT=.*|DAT="
$(DAT)
"|'
\
-e
's|^PYMODULEDIR=.*|PYMODULEDIR="
$(PYMODULEDIR)
"|'
$(NAM)
.py
>
$(NAM)
install
:
build
test
-d
$(DAT)
||
mkdir
-p
$(DAT)
install
-m
0775
$(NAM)
$(BIN)
install
-m
0664 config.cfg
$(DAT)
$(MAKE)
clean
clean
:
rm
-f
$(NAM)
rm
-f
*
.pyc
uninstall
:
rm
-f
$(BIN)
/
$(NAM)
$(DAT)
/
*
rm
-rf
$(DAT)
gensoft/biodocs2mongo.py
View file @
d62f53c6
This diff is collapsed.
Click to expand it.
gensoft/config.cfg
0 → 100644
View file @
d62f53c6
[DEFAULT]
ID_SEPARATOR: @
VERBOSE: 1
[MOBYLE]
MOBYLEURL: http://mobyle.pasteur.fr
[MONGO]
HOST: bioweb-prod.web.pasteur.fr
PORT: 27017
DB: bioweb
COL: catalog
JOURNALING: True
WRITECONCERN: 1
[BIODOCS]
BIODOCS_FILE: BIODOCS.yaml
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