Giter VIP home page Giter VIP logo

minutedock's Introduction

minutedock

#Install app

  1. Install node.js
  2. Install mongodb
  3. Clone repo and checkout the release branch or download the latest release.
  4. run 'npm install'
  5. run 'npm install -g gulp'
  6. There is config file, app.json at '<path_to_repo>/config/default.json'. Override the properties according to environment name.
  7. Set use.https to true or false in app.json. Keep it true if you don't have https web server sitting in front of node server.
  8. If using https, create ssl certificates. Create ssl key and ssl cert files. Modify app.json and set ssl.key.path and ssl.cert.path
  9. Regenerate the required salts and secrets mentioned in app.json. Don't use the defaults.
  10. Create google oauth2 credentials and update google.auth.client.id and google.auth.client.secret properties in app.json
  11. From '<path_to_repo>', execute 'gulp build'
  12. From '<path_to_repo>' execute 'gulp start'
  13. Access https://localhost:\<https_port_configured_in_config_file>

#Update Selenium Drivers and Run tests Run 'npm test' from '<path_to_repo>'

Production Setup

Hosted IP: 54.229.183.159 (AWS EC2)

  1. Change to noderunner user
  2. cd /home/noderunner/apps/minutedock
  3. Run scrips restart / start / stop with production as first argument.
  4. Restart Nginx if required.

minutedock's People

Contributors

achakravarty avatar anitakadam avatar anshulbajpai avatar devaroop avatar douglas-vaz avatar rahulbaphana avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minutedock's Issues

Interface to change Minutedock user API key

Minutedock allows users to reset their API access keys however there is no interface on the app to change this once it's been set once the user first registers. The app would break if a user resets his access key after registering.

Set default as currently assigned project and highlight assigned projects

When user is assigned to project, the assigned project should be set as default and highlight assigned projects. All assigned projects should come higher up in search.

Also, we can add default hours per day as preference.

To start with use should be able to set one or more projects as current assignments in preference page (where minute-dock api-key is set) so simplify project search.

More information for new people using it

  • Explain what the app is about, why we need to fill two time sheets etc
  • Guidelines about how to fill for leaves, beach, recruitment time, sessions etc

This can be a help link with static information

Load environment specific config parameters from Environment Variables

At the moment, config parameters such as Google OAuth tokens are pulled from source files in config which forces the user to modify code before running the app. Also, there's a potential risk for sensitive config params being checked into the source code repo. Reading the values from the environment would be a better strategy IMO

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.