You need to point the webserver simply to the "web" directory in the WebPass application folder. Afterwards you're able to login to WebPass via the web frontend.
There's nothing except the webserver pointing needed to make the application work. You don't even have to setup the database, because all data will be stored in a single file SQlite database.
To change the administrator's or system's eMail address, you need to edit the params.php file, which is located in the config/params.php file.
Cookie Validation Key
To increase the security on your WebPass installation, you should change the value of the cookie validation key. It's a random text, which is located in the config/web.php file.
Please mind that WebPass is designed to be usable via the internet. To increase the security of the application, you can use a SSL certificate and connect to the application only by the HTTPS protocol. Then the traffic between your device and the application will be transfered encrypted. There're different levels of HTTPS encryption. 256-bit encryption is quite save.
Another option to increase security, is to access the application via a VPN tunnel. Beside account credentials to WebPass, your device must be connected to a VPN server.
Team Secret Setup
The initial user credentials are the following.
After you insert this data into the form and press the login button, you'll be asked for the initial team secret.
As team secret you can specify a text, which will be stored in the cookie of your browser. Every team member, which will have access to your account credentials and passwords, needs to know the secret. It will be used to decrypt and encrypt the passwords in the database. Notice that the team secret cannot be changed after you've set it.
Adding Your Account Credentials
After you've set the team secret, you'll be forwarded to the account credentials overview page. There're no account credentials saved, yet. So you're able to add an account credential via form or import account credentials from your existing account credentials database from the KeePass XML format.
There're programs for any operating system (desktop and mobile) which are able to handle this format. The disadvantage of them, compared with WebPass, is, that they're only for single user usage:
Easy Account Credentials/Passwords Editing
You can create users for your account credentials management system. Additionally you can set specific users as admins to access all account credentials and be able to create and edit other users.
The web application is designed to be usable on any device. Desktop, tablet and smartphones.
Fast copy functionality. Even on mobile devices:
Use MySQL, MariaDB, PostgreSQL, CUBRID, Oracle or MSSQL instead of Sqlite
Change the configuration to the desired DBMS in the config file (config/db.php). An instruction can be found at http://www.bsourcecode.com/yiiframework2/yii2-0-database-connection/. After the database config is set, you need to apply the database migrations via the command line program from Yii2. More about the command line program from Yii2 PHP framework: http://www.yiiframework.com/doc-2.0/guide-tutorial-console.html.
The commands are as follows.
yii migrate --migrationPath=@yii/rbac/migrations
yii migrate --migrationPath=modules/yiipass/migrations
Now your database is feed with the schema.
The SQlite database, which is used per default, is located at modules/yiipass/assets/db/db.sqlite.
PDO_SQLITE driver not present on Ubuntu Linux server
Then try the following commands
sudo apt-get update
sudo apt-get install php5-sqlite --fix-missing
service apache2 restart
The first one updates the package manager sources. The second one installs the PHP5 SQLite extension and fixes missing package sources. The third one restarts the Apache2 web server. If you're using the Nginx web server, the Nginx Beginner's Guide (http://nginx.org/en/docs/beginners_guide.html) could help you out.
Mcrypt extension is missing on Ubuntu Linux server
Then run the following commands.
sudo apt-get install php5-mcrypt
service apache2 restart
The first command installs the PHP5 mcrypt extension. The second one enabled the extension in PHP. The third restarts the Apache2 webserver. If you use Nginx f.e., the first both commands could help you also.
Data cannot be written into database
The there're errors like follows:
SQLSTATE[HY000]: General error: 8 attempt to write a readonly database
SQLSTATE[HY000]: General error: 14 unable to open database file
Then make sure that the folder where the SQlite database resides, has the correct permissions. Also the SQLite database itself must have the correct permissions. By default, this file is located at modules/yiipass/assets/db/db.sqlite. The folder and the file must be owned by www-data, if you use apache. Further information: http://www.dragonbe.com/2014/01/pdo-sqlite-error-unable-to-open.html.