Installation (Quick Start)
If you just want to get AllQ running locally on your machine, here is a quick testing setup to get you started.
Last updated
If you just want to get AllQ running locally on your machine, here is a quick testing setup to get you started.
Last updated
First we need to create some keys for our client and server to use to talk to each other. These are required for AllQueue to work.
You can generate these keys by running the server once without keys and in CONFIG mdoe, and the server will output key values for both client and server. You will use these keys in your configuration when you actually start the server. To do this you will run the following:
This will output keys for both your client and server, and will look like this:
Please take note of the values produced, and save them for future steps. NOTE: There are keys for both client and server, so you will need to differentiate them.
Starting the server
On your server machine (or localhost), you will need to take the A_CURVE_PUBLICKEY and A_CURVE_SECRETKEY you identified in step #1 for the server and replace them in the script below:
Notice we started the server on port 7788
Starting the client
On your client machine (or localhost), there are 4 values you need to set in order to talk to the server.
you will need to take the A_CURVE_PUBLICKEY, A_CURVE_SECRETKEY, and the A_CURVE_SERVER_PUBLICKEY and replace them in the script below. Additionally, you will need to set the "SERVER_STRING" to point to the URL of your server (don't forget the port).
Testing the setup
On the CLIENT, run the following:
You should see a JSON result returned from the server.
If you get an error of the script times out, you can check the troubleshooting page.