Registrations currently disabled due to spam. Contact me externally if you need an account

Update Test Setup authored by natalie's avatar natalie
The following will help you get a local test server running that can be used with DreamPi or BlastEm clients. Setup to support VoIP/PSTN clients is much more in-depth and will be covered later. The following will help you get a local test server running that can be used with DreamPi or BlastEm clients. Setup to support VoIP/PSTN clients is much more in-depth and will be covered later.
0. Clone this repository to a convenient directory.
1. Install PHP CLI (7.4+) including the cURL, GD, and MySQL extensions, and MySQL/MariaDB (server). 1. Install PHP CLI (7.4+) including the cURL, GD, and MySQL extensions, and MySQL/MariaDB (server).
1a. Ubuntu: `apt install mariadb-server php-cli php-curl php-gd php-mysql` 1a. Ubuntu: `apt install mariadb-server php-cli php-curl php-gd php-mysql`
...@@ -10,14 +12,16 @@ The following will help you get a local test server running that can be used wit ...@@ -10,14 +12,16 @@ The following will help you get a local test server running that can be used wit
2b. Add a new user to the db: `grant all privileges on roofgarden.* to 'roofgarden'@'%' identified by 'roofgarden';` 2b. Add a new user to the db: `grant all privileges on roofgarden.* to 'roofgarden'@'%' identified by 'roofgarden';`
2c. Import the db schema from the repo: `mysql roofgarden < schema.sql` 2c. Exit the client: Ctrl+D
2d. Import the db schema from the repo: `mysql -u roofgarden -p roofgarden < schema.sql`
2d. Create a user named "test" to use with blastem: `insert into sipaccounts values(0, 'test', 'test', 'test', 'test', 'emu', NULL);` (id, mac, sn, user, password, type, comment) 2e. Enter the SQL client again and create a user named "test" to use with blastem: `insert into sipaccounts values(0, 'test', 'test', 'test', 'test', 'emu', NULL);` (id, mac, sn, user, password, type, comment)
3. Make a copy of secret.php.dist named secret.php 3. Make a copy of secret.php.dist named secret.php
3a. Edit the new file with your database host, user, password, and database name details. 3a. Edit the new file with your database host, user, password, and database name details.
4. Launch Roofgarden: `php roofgarden.php` 4. Launch Roofgarden: `php roofgarden.php` (note: this can run as a regular user. root is not required.)
5. Launch blastem. 5. Launch blastem.
6. Set the server to your server address, and use `test` as the identity value. 6. Set the server to your server address, and use `test` as the identity value.
\ No newline at end of file