Skip to content
Steven HENRY edited this page Jul 31, 2019 · 16 revisions

The following instructions explain how you run cuwo from source on Linux and Unix-likes.

Method 1 (bootstrap.sh)

This method is necessary if your distro does not have packages for Python 3.6, which is the case for Ubuntu 16.04 and below, Debian and CentOS. It also makes installation a lot more convenient, since it wraps the whole install in one .sh file.

  1. First, install the prerequisites for Python 3.6, curl, and git.
  • Ubuntu/Debian: sudo apt-get install -y curl git build-essential libsqlite3-dev libssl-dev libbz2-dev libreadline-dev
  1. Create a new directory (e.g. ~/cuwo) and cd into it.
  2. Run curl -L https://git.io/vFLZX | bash

Method 2 (manual)

  1. Install Python 3.6 with pip and build tools.
  • Debian/Ubuntu:
    • sudo apt-get install -y python3.6 python3.6-dev python3-pip build-essential
  1. Install Cython
  • Debian/Ubuntu:
    • sudo pip3 install cython
  1. Checkout the cuwo repository from GitHub or get the source here.
  2. Unzip the package (to e.g. ~/cuwo) and cd into it.
  3. Build cuwo
  • python3.6 setup.py build_ext --inplace

Running

  1. Edit config/base.py to your liking. You should perhaps edit 'server_name' and the 'PASSWORDREPLACEME' key, which is the default password for administration purposes.
  2. Start your cuwo server with sh run_server.sh and have fun.

If you have any (reproducible) issues post them here on GitHub or come to our Discord channel.

Clone this wiki locally