Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
cf52ed02
Commit
cf52ed02
authored
Dec 06, 2017
by
sim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOC] Make target must be explicit
parent
48f1ac9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
INSTALL.md
INSTALL.md
+6
-6
No files found.
INSTALL.md
View file @
cf52ed02
...
...
@@ -10,7 +10,7 @@ To setup development environment, run django test server and postgrest:
git clone -b gargantext-light ssh://git@gitlab.iscpif.fr:20022/humanities/gargantext.git gargantext-light
cd gargantext-light
make
make
setup
pipenv run make start
By default Django test server is running at
<http://localhost:8000>
, and
...
...
@@ -68,18 +68,18 @@ for installation instructions.
To bootstrap Gargantext environment just cd into your local Gargantext repo and
do:
make
make
setup
Or for production (without dev dependencies and without
`DEBUG`
mode):
make ENVIR=prod
make ENVIR=prod
setup
If you want to specify custom paths for configuration files (by default
`gargantext.ini`
and
`postgrest.conf`
in current directory), use
`GARGANTEXT_CONF`
and
`POSTGREST_CONF`
environment variable. For example:
GARGANTEXT_CONF=/etc/gargantext/gargantext.ini \
POSTGREST_CONF=/etc/gargantext/postgrest.conf make ENVIR=prod
POSTGREST_CONF=/etc/gargantext/postgrest.conf make ENVIR=prod
setup
If everything is going well, you now have a clean virtualenv with every
packages you need to run Gargantext, and fresh configuration files.
...
...
@@ -101,8 +101,8 @@ Configuration is located in three files: `.env` (environment variables),
`gargantext.ini`
and
`postgrest.conf`
(these file names are default values,
they can be specified in
`GARGANTEXT_CONF`
and
`POSTGREST_CONF`
env variables).
These files are automatically generated by running
`make`
(or
`make ENVIR=prod`
), which takes care of the tedious work.
These files are automatically generated by running
`make
setup
`
(or
`make ENVIR=prod
setup
`
), which takes care of the tedious work.
To generate configuration again, one can run
`./tools/mkconf.sh -f <target>`
where
`<target>`
can be
`dev`
or
`prod`
. Be careful, this script will change
...
...
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