Create

Sally gets the project started by creating a new repository.

~ server$ mkdir lottery

~ server$ cd lottery

lottery server$ hg init

lottery server$ hg serve
listening at http://server.futilisoft.com:8000/ (bound to *:8000)

I consider the details of server configuration to be beyond the scope of this book. Please accept my unsubstantiated claim that it happened. Right here.