<<<<<<< HEAD <<<<<<< HEAD <<<<<<< HEAD ======= <<<<<<< HEAD <<<<<<< HEAD <<<<<<< HEAD <<<<<<< HEAD <<<<<<< HEAD <<<<<<< HEAD ======= >>>>>>> 361c104... updating core information ======= >>>>>>> 9af222f... a few more things ======= >>>>>>> c31fd2d... copy edits and changes ======= >>>>>>> 5cad86b... Entering from my read ======= >>>>>>> 89f7f21... Tweaks from review ======= >>>>>>> 726089e... Updating with review comments >>>>>>> 2c752d6... Adding in changes for token site ======= >>>>>>> d56e4d3... Token work ======= >>>>>>> dbeb559... Updating

Installing Memcached

The Blockstack API optionally uses memcached and pylibmc for scaling read-only calls. If you want to enable this functionality then you should have memcached running locally.

Memcached on Debian & Ubuntu:

$ sudo apt-get install -y python-dev libmemcached-dev zlib1g-dev
$ pip install pylibmc

Memcached on macOS:

Easiest way to install memcached on macOS is by using Homebrew.

After installing Homebrew:

$ brew install memcached
$ brew install libmemcached
$ pip install pylibmc --install-option="--with-libmemcached=/usr/local/Cellar/libmemcached/1.0.18_1/"

After installing, you can start memcached and check if it’s running properly:

$ memcached -d
$ echo stats | nc localhost 11211

Memcached on Heroku

To deploy on Heroku:

$ heroku create
$ heroku addons:add memcachedcloud
$ git push heroku master