Skip to content

lorjala/pictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Pictionary

Load balanced angular 4 web application with redis communication layer.

Prerequisites

  • NodeJS v4
  • Redis

Installation

Web server
  1. Install NodeJS and Redis.
  2. Clone the project with git clone https://github.com/lorjala/pictionary.git.
  3. Move to app directory cd PictionaryApp.
  4. Install node modules with npm install.
  5. Configure environment variables.
  6. Run the application with node index.js.
Environment variables
  • PORT: server port
  • REDIS_HOST: redis host
  • REDIS_PORT: redis port
Client
  1. Move to client directory cd client.
  2. Install node modules with npm install.
  3. Install angular-cli globally with npm install -g @angular/cli for easy build.
  4. Build the angular application with ng build.
Load balancer
  1. Move to load balancer directory cd ../../LoadBalancer.
  2. Configure web servers addresses and ports in the index.js.
  3. Configure environment variables.
  4. Launch the load balancer with node index.js.
Environment variables
  • PORT: load balancer PORT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published