Skip to content

Parse a file as in /var/lib/dpkg/status and serve an info website

Notifications You must be signed in to change notification settings

hugo-cardenas/dpkg-info

Repository files navigation

dpkg-info

Parse a file following the format of Debian's /var/lib/dpkg/status and serve a website which:

  • Lists all packages
  • Displays info page for each package
  • Allows to navigate through package dependencies

The project is composed of a Node.js server and a React application displaying the data.

Development

In development, the Node server is serving only the API data and the React app is served by webpack-dev-server.

Run the server:

npm run start:dev:server

Run the app:

npm run start:dev:app

You can now access the app on http://localhost:8081, which will connect to the API served on http://localhost:8080.

In production, the whole app is served on domain:8080

Test

npm test

Build and run with Docker

docker build -t dpkg-info .
docker run -p 8080:8080 -d dpkg-info

Deploy

Deployment is using Zeit Now v1 with Docker.

npm run deploy

About

Parse a file as in /var/lib/dpkg/status and serve an info website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published