Part 0: Setup

Initial setup for our Network/IRC Bot Tutorial.

IMPORTANT: Please be sure to work through the machine setup before proceeding.
Need to cheat a bit? The complete script and board games can be found in new-coder/network.

In your terminal, let’s navigate to your projects directory setup from earlier:

1
2
$ cd  # brings you to your 'Home' directory
$ cd new-coder/network

Make a new virtual environment specific to your network project project:

1
$ mkvirtualenv NetworkProj

You should now see (NetworkProj) before your prompt. Now, from within the new-coder/network directory, run the following to install package requirements with the following command for this project:

1
(NetworkProj) $ pip install -r requirements.txt

Your virtual environment will store the required packages in a self-contained area to not mess up with other Python projects.

Lastly, navigate to your project workspace that you setup earlier from the machine setup:

1
2
(NetworkProj $ cd ..
(NetworkProj $ cd network_workspace

Now you’re ready to move onto the next part.