In the first step, you will checkout the catinabox
source and start the
server.
-
Fork catinabox.
-
Checkout your fork:
christie@paw-paw:~$ git clone https://github.com/<MYUSERNAME>/catinabox.git
-
Before we try anything, let's update
pip
andvirtualenv
to make sure we're on the same page:christie@paw-paw:~$ pip install --upgrade pip christie@paw-paw:~$ pip install --upgrade virtualenv
-
Create a virtual environment for running `catinabox``:
christie@paw-paw:~$ cd catinabox
christie@paw-paw:~/catinabox$ virtualenv catpy
- Activate your virtual environment:
christie@paw-paw:~/catinabox$ source catpy/bin/activate
(catpy)christie@paw-paw:~/catinabox$
You are now in your virtual environment, as indicated by the (catpy)
prefix
in your shell prompt.
- Setup your development environment and install dependencies:
(catpy)christie@paw-paw:~/catinabox$ python setup.py develop
- Run
catinabox
using thecattery
entrypoint, which runs using nameko
(catpy)christie@paw-paw:~/catinabox$ nameko run catinabox.services.cattery_service
- Observe the running
catinabox
webserver using your browser:
Wow! catinabox
runs! Great! But how confident are we that it does what
it's supposed to do?