Giter VIP home page Giter VIP logo

webui_pivpn's Introduction

Build Status license

web ui for openvpn server management through pivpn tool

Configure

IP Address

In order to have a setup running on your computer, you need to install pivpn tools, see https://github.com/pivpn/pivpn.

The file src/config.jsx has to be modified to precise the IP address of the server.

You can also modify the port in this file but in this case you have also to modify the port defined in api/server.js.

Login and Password

The login / password couple is defined in the file api/config.js

Environment preparation

Install nodejs and npm version 7.0.0 or later (not tested with previous versions). launch npm install at the root directory of sources. The user running the server needs to be a sudoer user. You also need to add read rights on /etc/openvpn/easy-rsa/keys/index.txt. It can be done with the commands sudo chmod 755 /etc/openvpn/easy-rsa/keys sudo chmod +r /etc/openvpn/easy-rsa/keys/index.txt

##SASS fix on raspberry pi In case of deployment on a raspi, there is some troubles with sass. You will need to rebuild node-sass to server front end with the following command :

  • npm rebuild node-sass

dev

For the development, launch :

  • webpack-dev-server for the front-end,
  • npm run api for the back-end.

prod

For the prod, launch :

  • npm run prod It will build the bundle and serve it at root tree of the server.

webui_pivpn's People

Contributors

stephenkinger avatar

Watchers

 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.