Metadata
- Source
- FLUID-6232
- Type
- Improvement
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- Jonathan Hung
- Created
2017-12-04T10:02:15.785-0500 - Updated
2021-05-18T13:20:41.747-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- Tech. Documentation
Description
Currently the UI Options documentation only includes the ZIP download method for acquiring Infusion.
This documentation should be updated to also include the npm install method.
Comments
-
Jonathan Hung commented
2017-12-04T10:04:36.066-0500 For example, this wiki page has some existing documentation. Perhaps it can be re-used:
https://wiki.fluidproject.org/display/fluid/Installing+and+Getting+Started+with+UI+Options
"
- Get Infusion by typing "
npm install infusion
" in the command line and pressing Enter. The process will run and a new directory callednode_modules
will be created as a result. - Using the command line, change directory into the infusion directory that's been created within
node_modules
.- On Windows type: "
cd node_modules\infusion
" (without quotes) and press Enter. - On Mac type: "
cd node_modules/infusion
" (without quotes) and press Enter.
- On Windows type: "
- Now build Infusion by typing "
npm install
" (without quotes) and press Enter. Once that is done, type "grunt
" without quotes and press Enter. This will create a "products
" directory in the Infusion directory. - Within the
my-project/temp/node_modules/infusion/products
directory, there is now a ZIP file called "infusion-all-2.0.0.zip
" (the exact filename may be a little different depending on the release of Infusion available at the time you download it). Unzip this file using your preferred Unzipping program. - Now copy (or move) the resulting "
infusion
" directory into your project's root directory.
"
- Get Infusion by typing "
-
Mohamed Shadab commented
2018-03-24T08:54:42.908-0400 Hey, I am currently working on this,
Should there be detailed explanation on how to acquire node.js then launch a terminal or powershell etc. or should it be condensed on the assumption that the user already has node/npm and has basic knowledge of how to use it.
-
Alan Harnum commented
2018-03-28T10:15:01.107-0400 @@Mohamed Shadab I'd assume that they already have node/npm and basic knowledge - you can provide a link out to documentation at https://nodejs.org/en/ or similar as a courtesy, but it's reasonable to assume that someone interested in using npm has node/npm/basic CLI.
-
Mohamed Shadab commented
2018-03-28T14:38:55.143-0400 I have made a PR for this issue: https://github.com/fluid-project/infusion-docs/pull/135
-
Justin Obara commented
2018-04-19T09:41:04.058-0400 Re-opened the issue because we still need to document installing through the npm via package.jon. This would involve copying over the necessary UIO distribution, as well as any templates, messages, and other assets needed.
-
Justin Obara commented
2021-05-18T13:20:41.744-0400 PR ( https://github.com/fluid-project/infusion-docs/pull/198 ) merged into the project repo