Skip to content

osusara/Audit-Tool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPO Audit Tool

Environment Setup

  • Install serverless

    npm install -g serverless
    
  • Config credentials serverless (Change the replace the access key and secret key with the IAM user’s credentials)

    config credentials --provider aws --key <access key> --secret <secret key>
    
  • Install Angular CLI

    npm install -g @angular/cli
    

Project Setup

  • Fork the Audit-Tool repository.

  • Clone it to your local machine.

  • Install necassary packages.

    npm run setup
    
  • To run locally,

    set the proxy configurations by replacing web/proxy.config.json with following code.

    [
        {
            "context": ["/dev"],
            "target": "http://localhost:3000",
            "secure": false,
            "changeOrigin": false,
            "logLevel": "debug",
            "pathRewrite": { "^/dev": "" }
        }
    ]  
    

    run following command in project root directory.

    npm run dev
    
  • To deploy

    remember to change the web/proxy.config.json back to

    [
        {
            "context": ["/dev"],
            "target": "https://audit.winningproduct.com/",
            "secure": false,
            "changeOrigin": true,
            "logLevel": "debug"
        }
    ]
    

    run following command in project root directory

    npm run deploy
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 72.3%
  • SCSS 14.7%
  • HTML 11.4%
  • JavaScript 1.6%