compwright / disqus-demo
Demo project for AtlantaPHP October 2014 talk, "Building for Success and Failure With Disqus"
dev-master
2014-10-02 19:54 UTC
Requires
- php: >=5.4
- aura/cli: 2.*
- compwright/disqus-cli: *
- slim/slim: 2.*
- vlucas/phpdotenv: ~1.0
Requires (Dev)
- compwright/disguz: dev-master
- devster/ubench: dev-master
This package is auto-updated.
Last update: 2024-10-22 16:22:36 UTC
README
Dependencies
- PHP 5.4+
- PHP Memcache extension (not Memcached)
- PHP Mongo extension
- Memcached
- MongoDB
If you do not have these dependencies and are on Mac OS X, you can quickly install them with Homebrew:
brew install php55
brew install php55-memcache
brew install php55-mongo
brew install memcached
brew install mongodb
Be sure to follow the post-install instructions provided by Homebrew to start the memcached and mongod servers.
Install with Composer
$ composer create-project compwright/disqus-demo ./disqus-demo
$ cd disqus-demo
$ cp .env-sample .env
Configuration
- Create a Disqus Application, and put the API key, API secret, and access token in your
.env
file - Register your website on Disqus, and put the forum name (the Disqus subdomain you chose) in your
.env
file - Start the built-in PHP server by running the
start-server.sh
file
You're off to the races!