Getting Started¶
Installation of Cockatrice on Unix-compatible or Windows servers generally requires Python interpreter and pip command.
Installing Cockatrice¶
Cockatrice is registered to PyPi now, so you can just run following command:
$ pip install cockatrice
Starting Cockatrice¶
Cockatrice includes a command line interface tool called bin/cockatrice. This tool allows you to start Cockatrice in your system.
To use it to start Cockatrice you can simply enter:
$ cockatrice server
This will start Cockatrice, listening on default port (8080).
$ curl -s -X GET http://localhost:8080/
You can see the result in plain text format. The result of the above command is:
cockatrice <VERSION> is running.