Giter VIP home page Giter VIP logo

purplship-dashboard's Introduction

Purplship Dashboard

Purplship Dashboard

puprlship-dashboard

Purplship Dashboard is a browser-based logistics and shipping dashboard for purplship.

Getting Started

Using a Purplship Dashboard Release

If you just want to try Purplship out, check out the purplship/dashboard Docker Image to give it a whirl.

Building and Running Purplship Dashboard

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Installing

Clone the repository

git clone https://github.com/purplship/purplship-dashboard.git

cd purplship-dashboard

npm install

Configuration

Use the following environment variables to configure the dashboard:

  • NEXT_PUBLIC_PURPLSHIP_API_URL (required) - URL of a running instance of purplship server. If you are running purplship-server locally with the default settings, set NEXT_PUBLIC_PURPLSHIP_API_URL to: http://localhost:5002.

  • JWT_SECRET (required) - A secret to use for JWT key generation - you should set this explicitly.

  • NEXTAUTH_URL (required) - The URL of your dashboard to restrict the authentication host to your instance. If you are running the dashboard locally, set NEXTAUTH_URL to: http://localhost:3000.

  • PURPLSHIP_HOSTNAME - URL of a running instance of purplship server. Useful for an internal network request from the node side of the dashboard. Note: the default value will be NEXT_PUBLIC_PURPLSHIP_API_URL when not provided

  • BASE_PATH - A base path to use for deploying the dashboard to a domain subpath. e.g. instance.purplship.com/dashboard

Development

Start the development server

npm run dev

Purplship Dashboard should now be running at http://localhost:3000.

Production

Build the application bundle

npm run build

Resources

Join us on Discord

License

This project is licensed under the terms of the Apache 2 license.

See the LICENSE file for license rights and limitations.

Any other questions, mail us at [email protected] We’d love to meet you!

purplship-dashboard's People

Contributors

danh91 avatar dependabot[bot] avatar gitter-badger avatar jacobshilitz avatar rcknr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.