SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
119
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SciPost
SciPost
Commits
18c95651
Commit
18c95651
authored
5 years ago
by
Jean-Sébastien Caux
Browse files
Options
Downloads
Patches
Plain Diff
Tweak installation docs about webpack
parent
2ac82bd8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/deployment/installation/installation.rst
+2
-7
2 additions, 7 deletions
docs/deployment/installation/installation.rst
with
2 additions
and
7 deletions
docs/deployment/installation/installation.rst
+
2
−
7
View file @
18c95651
...
...
@@ -164,13 +164,11 @@ for production it is ``webpack.prod.config.js``.
The file ``package.json`` defines the scripts needed to run npm below.
Development server
==================
During development, to (re)compile all assets into
the ``static_bundles`` folder, simply run::
(scipostenv) $ npm run webpack
(scipostenv) $ npm run webpack
-dev
which makes use of the dev config file ``webpack.dev.config.js``.
...
...
@@ -178,12 +176,9 @@ While editing assets, it may be helpful to put Webpack in *watch* mode.
This will recompile your assets in real time. To do so, instead of the
above command, run::
(scipostenv) $ npm run webpack-live
(scipostenv) $ npm run webpack-
dev-
live
Production server
=================
On the production server, run::
(scipostenv) $ npm run webpack-prod
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment