GithubHelp home page GithubHelp logo

akhuang / building-scalable-apps-with-redis-and-node.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johanan/building-scalable-apps-with-redis-and-node.js

0.0 2.0 0.0 1.32 MB

This is the public repo for the book, Building Scalable Apps with Redis and Node.js. Publish be Packt Publishing. You can purchase the book at: https://www.packtpub.com/web-development/building-scalable-apps-redis-and-nodejs

JavaScript 84.40% CSS 0.55% HTML 4.44% Shell 1.05% Python 9.56%

building-scalable-apps-with-redis-and-node.js's Introduction

README

  • any folders with package.json, run npm install
  • any folders with bower.json, run bower install

Chapters 8 and 9 are a little complicated in their use. The chapter will cover what you need to do, but here is a nice list of what to do.

Chapter 8 steps

  • npm install and bower install
  • create a dev_secret.env
  • source dev.env and dev_secret.env
  • run grunt
  • start node

Chapter 9 steps

  • npm install and bower install
  • virtualenv venv
  • source venv/bin/activate
  • pip install -r dev-requirements.txt
  • get credentials for Facebook, Google, and Amazon Web Services and add them to the secret file
  • check STATIC_URL and AWS_BUCKET in prod.env are set to your S3 bucket
  • update ansible/vars.yml to use your git repo
  • create Amazon EC2 instances with the correct tags; Redis:Role, RabbitMQ:Role, HAProxy:Role, Chat:Deploy, Worker:Deploy, prod:Env
  • source prod.env and prod_secret.env
  • ssh-add ~/your_aws_key
  • run ./deploy.sh site.yml prod master
  • browse to your Amazon EC2 IP address

building-scalable-apps-with-redis-and-node.js's People

Contributors

johanan avatar

Watchers

James Cloos avatar Phoenix avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.