镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

About

The website for my test version of my vpn service.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Repository files navigation

TestVPN-web

The website for my test version of my vpn service.

Setup

Scripts

Follow the setup in the scripts repo first https://github.com/TestVPN/TestVPN-scripts

Secrets

Create a secrets.php file in the root of the repository.

<?php
// secrets.php
/*******************
*                  *
*     include      *
*                  *
********************/
//require_once(__DIR__ . "/secret_includes_not_added_yet.php");

/*******************
*                  *
* Global constants *
*  S E C R E T     *
*                  *
********************/
const SECRET_BETA_KEY = "UPDATE_ME";
const SECRET_MAIL_PASS = "UPDATE_ME";
const SECRET_MAIL_PASS_ELASTIC = "UPDATE_ME";
const SECRET_CAPTCHA_KEY = 'UPDATE_ME';
?>

Database

Give apache permission to read and write the database file into the scripts dir.

cd /var/www/TestVPN-scripts
chown -R www-data:www-data .

Execute users_table.php from the web or from commandline to create the table.

http://localhost/TestVPN-web/users_table.php

php users_table.php

About

The website for my test version of my vpn service.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages