The EVN Analytics Catalog is an AngularJS application hosted using AWS S3 as a serverless architecture.
-
install Node (version 4.4.0 and above).
-
After you have Node installed install Bower.
npm install -g bower
- Add, if you haven't done so already.
Add or modify the following line in your ~/.bashrc
(or .zshrc
or .bash_profile
or whatever you use) to include github.build.ge.com
, localhost
, and 127.0.0.1
in your no_proxy
bash variable:
export no_proxy="github.build.ge.com,localhost,127.0.0.1"
- Clone the evn-analytics-catalog repo:
git clone https://github.build.ge.com/PD-CORE/evn-analytics-catalog.git
- Use NPM and Bowerto install the app's dependencies:
cd evn-analytics-catalog
npm install && bower install && jspm install
This will create the /node_modules
and public/bower_components
folders.
Note: If you use bower install for components (e.g. px components), please run the "bower install" command inside your app directory (public directory in the evn-analytics-catalog). Your bower_components folder should be under the "public" directory.
- Start your local microapp development server:
node app.js
This command starts a local development server at port 9000.
- Open http://localhost:9000 in your browser, and you should see your microapp.
Install the AWS SDK for JavaScript
npm insta aws-sdk
To Push the full application
aws s3 cp --recursive ./ s3://BUCKET-NAME/
To Push specific folders or files
aws s3 cp --recursive ./LOCAL-FOLDER s3://BUCKET-NAME/FOLDER
Analytics catalog using a 3D view of the EVN.
Simple Analytics catalog.
Analytics coverage.