Giter Club home page Giter Club logo

people-manager-gap's Introduction

People Manager

Manage people the easy way

Aspects to be covered in this README:

  • Ruby / Rails version
  • System dependencies
  • Configuration
  • Database creation
  • Database initialization
  • How to run the test suite
  • Services (job queues, cache servers, search engines, etc.)
  • Deployment instructions

Ruby / Rails Version

Ruby Version: ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-darwin15] Rails Version: Rails 4.2.6

System Dependencies

The application dependencies are as follows:

  • Redis 3.0.5
  • Mailcatcher 0.6.1
  • Foreman 0.78.0 (For running the app through the Procfile)
  • MySQL server 5.7.11

Note: To install these dependencies you can use a package manager like Homebrew to get the job done.

Configuration

The application is meant to be executed on the localhost. Redis will run on its default port as well as mysql server. The rails application is supposed to be deployed/started to its default port 3000 on localhost.

Database Creation

To create the database simply run bundle exec rake db:create

Database Initialization

To initialize the database simply run bundle exec rake db:migrate db:seed

How to run the test suite

To run/execute the test suite simply run bundle exec rake test

Services (job queues, cache servers, search engines, etc)

The application will only be using a job queue to process emails. This is done using Resque. To get this service running you can go ahead and open a terminal an type: QUEUE=* rake environment resque:work or you can run the application with foreman like this: foreman start -p 3000. The last command will run the web server and the resque process.

Deployment instructions

To deploy the application locally you only need to do the following after installing all the dependencies.

  1. Clone this repo - git clone https://github.com/sebasjimenez10/people-manager-gap.git
  2. Run bundle install or simply bundle
  3. Follow the database creation and initialization commands
  4. Run mailcatcher and open a browser on localhost:1080 to see the emails console
  5. Finally run foreman start -p 3000 to start the application

people-manager-gap's People

Contributors

sebasjimenez10 avatar

Watchers

James Cloos 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.