8000 GitHub - iwanaga/pdiff: diff tool for akamai property
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

iwanaga/pdiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdiff

diff tool for Akamai property rule tree

How to Setup

Place .edgerc file at home directory and add pdiff section. You can reuse existing API Client credentials.

[default]
client_secret = ...
host = ...
access_token = ...
client_token = ...

[pdiff]
client_secret = ...
host = ...
access_token = ...
client_token = ...

Download and the docker image

docker pull iwanaga/pdiff:latest
docker run -p 9000:9000 -v /Users/`whoami`/.edgerc:/root/.edgerc -it --rm --name pdiff -d pdiff
docker logs -f iwanaga/pdiff

Open your browser and access to localhost:9000

open http://localhost:9000/

Scripts for development

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

Run server

cd server
node app.mjs

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

Scripts for release

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Docker

docker build -t pdiff .

docker run -p 9000:9000 -v ~/.edgerc:/root/.edgerc -it --rm --name pdiff -d pdiff
docker logs -f pdiff

docker stop pdiff

docker tag pdiff iwanaga/pdiff

docker login
docker push iwanaga/pdiff:latest

About

diff tool for akamai property

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0