pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/compdemocracy/polis/tree/edge/client-admin

polis/client-admin at edge · compdemocracy/polis · GitHub
Skip to content

Latest commit

 

History

History

README.md

Polis Admin Console

The web interface for creating and administering polis conversations. It is built with React.js.

Installation

Dependencies

  • Node 24 (via mise)
  • NPM >= 10

Use mise to set the Node version and install dependencies:

# Install mise: https://mise.jdx.dev/getting-started.html
mise use node@24
npm install

Docker Build

If you prefer to run the Polis application using docker compose, see the top-level README document. This component will be built and served as part of the file-server container.

If you are building this container on its own, outside of the docker compose context, simply use the Dockerfile located in this directory. Optionally provide a "tag" for the image that is created:

docker build -t polis-client-admin:local .
docker run -p 8080:8080 --name polis-client-admin polis-client-admin:local npm start

Now you can see the web interface at [http://localhost:8080], but if it is not connected to the Server API you won't get very far. Still it can be useful for developing and debugging builds.

Configuration

Common Problems

If you having troubles with npm dependencies try run the commands below:

rm -rf node_modules
npm install

Running Application

This will run the webpack dev server which will rebuild as you make changes.

npm start

Now you can see the web interface at [http://localhost:8080]. You will still need to run the rest of the Polis application components (via docker compose or otherwise) to have a functional interface.

The client-admin will look for an API server at whatever domain and port it is itself running on, e.g. localhost.

In the future this should become more customizable.

Building for Production

To build static assets into build/ for a production deployment, run

npm run build:prod

The polis file-server process builds and serves these assets when docker compose is used.

See the "scripts" section of the package.json file for other run and build options.

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy