/getinconf

Web application to manage networks made TincVPN

Primary LanguagePHP

#GeTINConf Server

A compilation of some software to start developing in CakePHP environment, with:

CakePHP 2.3.0 - framework for developing

Bootstrap - front-end framework

Bootswatch - Free Themes Gallery.

TwitterBootstrap - CakePHP Helpers and for few changes.

DebugKit - Official CakePHP's Plugin to Debug.

##Pre-Install

If you want to GeTinConf (WebApp) make a DEB packages, you need to install some packages:

apt-get install build-essential git dh-make pdebuild-cross

##Install

In a webserver path:

# Clone Repository
git clone https://github.com/agustim/getinconf.git <myapp>
cd <myapp>
cd app
# Create database
cp DataBase/getinconf.empty.db DataBase/getinconf.db
# Rename config database file
mv Config/database.php.default Config/database.php
# Change 'Security.salt' and 'Security.cipherSeed' in file <myapp>/app/Config/core.php:
cd Config
sed -i -r "s/YmU1ZDUyMmQyNTg1NjM5ODg3ZDI5MDEyMzJhNTE4/`date +%s | md5sum | base64 | head -c 40`/" core.php
sed -i -r "s/b6823eb774c58c3954abf52209640/`date +%s | md5sum | head -c 29`/" core.php
cd ..
cd ..
chown -R www-data:www-data <myapp>

##Post-Install

If WebApp make a DEB packages:

mkdir -p <myapp>/app/Exec/
cd <myapp>/app/Exec
git clone https://github.com/agustim/getinconf-client
cd ..
chown www-data:www-data Exec 

##Setup

Make an user admin.

http://<localhost>/<myapp>/users/add