Registrations currently disabled due to spam. Contact me externally if you need an account
Changes
Page history
Update Test Setup
authored
May 30, 2021
by
natalie
Show whitespace changes
Inline
Side-by-side
Test-Setup.md
View page @
68712869
...
@@ -4,7 +4,7 @@ The following will help you get a local test server running that can be used wit
...
@@ -4,7 +4,7 @@ The following will help you get a local test server running that can be used wit
2.
Create a new database:
`create database roofgarden;`
2.
Create a new database:
`create database roofgarden;`
3.
Add a new user to the db:
`grant all privileges on roofgarden.* to 'roofgarden'@'%' identified by 'roofgarden';`
3.
Add a new user to the db:
`grant all privileges on roofgarden.* to 'roofgarden'@'%' identified by 'roofgarden';`
4.
Import the db schema from the repo:
`mysql roofgarden < schema.sql`
4.
Import the db schema from the repo:
`mysql roofgarden < schema.sql`
5.
Create a user named "test" to use with blastem:
`insert into sipaccounts values(0, 'test', 'test', 'test', 'test', '
sip
', NULL);`
5.
Create a user named "test" to use with blastem:
`insert into sipaccounts values(0, 'test', 'test', 'test', 'test', '
emu
', NULL);`
6.
Make a copy of secret.php.dist named secret.php, and edit it with your database host, user, password, and db name.
6.
Make a copy of secret.php.dist named secret.php, and edit it with your database host, user, password, and db name.
7.
Launch Roofgarden.
`php roofgarden.php`
7.
Launch Roofgarden.
`php roofgarden.php`
8.
Launch blastem, set the server to your server address, and use
`test`
as the identity value.
8.
Launch blastem, set the server to your server address, and use
`test`
as the identity value.
\ No newline at end of file