mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2025-12-19 05:47:46 +00:00
add cors support
This commit is contained in:
@@ -28,8 +28,7 @@ HTTP_PORT=4000 node app
|
||||
#### Running the test suite
|
||||
To run the included test suite, you will need to have a mysql server installed on your laptop/server. You will need to set the MYSQL_ROOT_PASSWORD env variable to the mysql root password before running the tests. The test suite creates a database named 'jambones_test' in your mysql server to run the tests against, and removes it when done.
|
||||
```
|
||||
export MYSQL_ROOT_PASSWORD=foobar
|
||||
npm test
|
||||
MYSQL_ROOT_PASSWORD=foobar npm test
|
||||
```
|
||||
|
||||
#### Testing a deployed server
|
||||
|
||||
Reference in New Issue
Block a user