mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-14 22:20:17 +08:00
- Splitting out naming and auth - Adding in frontmatter - Remove old files, re-arrange what's left - Removing old cli material per Jude - Final pass on docs initial release - Adding back originals with redirects Signed-off-by: moxiegirl <mary@blockstack.com>
961 B
961 B
layout, permalink
| layout | permalink |
|---|---|
| core | /:collection/:path.html |
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