You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Kuznetsov (JIRA)" <ji...@apache.org> on 2016/08/26 08:33:20 UTC

[jira] [Comment Edited] (IGNITE-3210) Make modules\web-console\DEVNOTES.txt a bit clear

    [ https://issues.apache.org/jira/browse/IGNITE-3210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15438655#comment-15438655 ] 

Alexey Kuznetsov edited comment on IGNITE-3210 at 8/26/16 8:33 AM:
-------------------------------------------------------------------

Current instructions:
{noformat}
Ignite Web Console Instructions
======================================

How to deploy locally:

1. Install locally MongoDB (version >=3.x) follow instructions from site http://docs.mongodb.org/manual/installation.
2. Install locally NodeJS (version >=4.x) using installer from site https://nodejs.org for your OS.
3. Change directory '$IGNITE_HOME/modules/web-console/src/main/js'.
4. Update npm to 3.x:
  Linux:
       npm install -g npm
  Windows:
       npm install -g npm-windows-upgrade
       npm-windows-upgrade
       See: https://github.com/felixrieseberg/npm-windows-upgrade
  Check npm version: "npm --version", it should be 3.x.
5. Change directory to '$IGNITE_HOME/modules/web-console/backend' and
 run "npm install --no-optional" for download backend dependencies.
6. Change directory to '$IGNITE_HOME/modules/web-console/frontend' and
 run "npm install --no-optional" for download frontend dependencies.
7. Build ignite-web-agent module follow instructions from 'modules/web-agent/README.txt'.
8. Copy ignite-web-agent-<version>.zip from '$IGNITE_HOME/modules/web-console/web-agent/target'
 to '$IGNITE_HOME/modules/web-console/backend/agent_dists' folder.

Steps 1 - 8 should be executed once.

How to run console in development mode:

1. Configure MongoDB to run as service or in terminal change dir to $MONGO_INSTALL_DIR/server/3.0/bin
  and start MongoDB by executing "mongod".

2. In new terminal change directory to '$IGNITE_HOME/modules/web-console/backend'.
   If needed run "npm install --no-optional" (if dependencies changed) and run "npm start" to start backend.

3. In new terminal change directory to '$IGNITE_HOME/modules/web-console/frontend'.
  If needed run "npm install --no-optional" (if dependencies changed) and start webpack in development mode "npm run dev".

4. In browser open: http://localhost:9000
{noformat}

Please feel free to make them more clear.
For me current instructions quite clear.


was (Author: kuaw26):
Current instructions:
{{code}}
Ignite Web Console Instructions
======================================

How to deploy locally:

1. Install locally MongoDB (version >=3.x) follow instructions from site http://docs.mongodb.org/manual/installation.
2. Install locally NodeJS (version >=4.x) using installer from site https://nodejs.org for your OS.
3. Change directory '$IGNITE_HOME/modules/web-console/src/main/js'.
4. Update npm to 3.x:
  Linux:
       npm install -g npm
  Windows:
       npm install -g npm-windows-upgrade
       npm-windows-upgrade
       See: https://github.com/felixrieseberg/npm-windows-upgrade
  Check npm version: "npm --version", it should be 3.x.
5. Change directory to '$IGNITE_HOME/modules/web-console/backend' and
 run "npm install --no-optional" for download backend dependencies.
6. Change directory to '$IGNITE_HOME/modules/web-console/frontend' and
 run "npm install --no-optional" for download frontend dependencies.
7. Build ignite-web-agent module follow instructions from 'modules/web-agent/README.txt'.
8. Copy ignite-web-agent-<version>.zip from '$IGNITE_HOME/modules/web-console/web-agent/target'
 to '$IGNITE_HOME/modules/web-console/backend/agent_dists' folder.

Steps 1 - 8 should be executed once.

How to run console in development mode:

1. Configure MongoDB to run as service or in terminal change dir to $MONGO_INSTALL_DIR/server/3.0/bin
  and start MongoDB by executing "mongod".

2. In new terminal change directory to '$IGNITE_HOME/modules/web-console/backend'.
   If needed run "npm install --no-optional" (if dependencies changed) and run "npm start" to start backend.

3. In new terminal change directory to '$IGNITE_HOME/modules/web-console/frontend'.
  If needed run "npm install --no-optional" (if dependencies changed) and start webpack in development mode "npm run dev".

4. In browser open: http://localhost:9000
{{code}}

Please feel free to make them more clear.
For me current instructions quite clear.

> Make modules\web-console\DEVNOTES.txt a bit clear
> -------------------------------------------------
>
>                 Key: IGNITE-3210
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3210
>             Project: Ignite
>          Issue Type: Improvement
>          Components: UI
>    Affects Versions: 1.6
>            Reporter: Pavel Konstantinov
>            Assignee: Pavel Konstantinov
>            Priority: Trivial
>
> We need to add an explanation that user should wait the end(result) of current step before start next one.
> And will be useful to describe how the result of each step looks like.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)