Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
RadioObservatory
LOFAR
Commits
1b53744e
Commit
1b53744e
authored
6 years ago
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
OSB-6
: add example in the cmake documentation
parent
a28f724c
No related branches found
No related tags found
2 merge requests
!89
Monitoring maintenance Epic branch merge
,
!1
Resolve OSB-13 "Monitoringmaintenance "
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMake/NPMInstall.cmake
+14
-0
14 additions, 0 deletions
CMake/NPMInstall.cmake
with
14 additions
and
0 deletions
CMake/NPMInstall.cmake
+
14
−
0
View file @
1b53744e
...
...
@@ -4,6 +4,20 @@
# public_dir is the directory where the static files are stored
# source_dir is the directory where the javascript/css files are stored
##
## NPM/REACT Quickstart tutorial
## The tool create-react-app can be used to create a barebone react html/js project.
## This tool can be installed systemwide with npm executing the command '#npm install -g create-react-app'.
## Then, the barebone project setup can be created in the [project-directory] executing the command
## '$create-react-app [project-directory]'
## The script will create the [project-directory], if it doesnt exist, containing the public and src folder and default package.json file,
## it will download the basic dependencies and will start a git repository in the [project-directory].
## However, the file/directories required are only the public and the src directory and the package.json file.
## PLEASE MAKE SURE TO COPY ONLY THOSE FILES/DIRECTORIES IN THE LOFAR SRC TREE!
## Finally, the cmake file for the project has to contains these two lines to make the LOFAR cmake setup build the project
## 'include(NPMInstall)'
## 'npm_install([package.json file] PUBLIC [public directory] SOURCE [source directory] DESTINATION [install destination folder])'
# Copyright (C) 2008-2009
# ASTRON (Netherlands Foundation for Research in Astronomy)
# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands, softwaresupport@astron.nl
...
...
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