Skip to content

FAIRDataTeam/admin-panel-client

Repository files navigation

Admin Panel - Client Application

This is the client for the Admin Panel Server Application.

Build Status License

Deployment

Admin Panel Client is distributed as a Docker image. The only configuration needed is to provide API url (without the trailing slash) of the server as a API_URL env variable when running the docker image.

The application in the image is served on port 80.

$ docker run -d -p 8080:80 -e API_URL=http://api.example.com fairdata/admin-panel-client

Or if you use Docker Compose:

version: '3'
services:
    client:
        image: fairdata/admin-panel-client
        ports:
            - 8080:80
        environment:
            - API_URL=http://api.example.com

You can use a single docker-compose file to deploy both, client and server.

Development

Install dependencies using:

$ npm install

Compile and hot-reload for development:

npm run serve

Compile and minify for production:

$ npm run build

Run tests or linter:

$ npm run test
$ npm run lint

Releases

No releases published

Packages

No packages published