Code Monkey home page Code Monkey logo

mih-todo-app's Introduction

Make It Happen

"Make It Happen" - is an online app, which helps you to plan your days and achieve more. When signing up to "Make It Happen", online organizer will get a schedule that is powerful & flexible enough to help you get much more done. This is an online calendar based solution for your total time management. Handy for tracking your progress and maintain life balance between family, health, friends and career.

Initial steps if you prefer to run application using Virtual Box

Configurations below should be made once:

  1. Download and install Virtual Box https://www.virtualbox.org/wiki/Downloads
  2. Download and install Extensions for Virtual box https://www.virtualbox.org/wiki/Downloads
  3. Download and install Vagrant https://www.vagrantup.com/downloads.html
  4. Clone Git repository into local machine:
git clone https://git.epam.com/anna_pavlova/epmkhrdmh.git

Configurations below should be made each time you want to run application locally

  1. Open repository folder and locate MIH/VM
  2. Run command "vagrant up"
vagrant up

Please, note:

If you have the error 'Vagrant could not detect VirtualBox' try changing environment variable "VBOX_MSI_INSTALL_PATH" to "VBOX_INSTALL_PATH."

If you are a Windows 10 user, you may have the error "The VirtualBox VM was created with a user that doesn't match the current user running Vagrant.". In this case locate MIH\VM.vagrant\machines\default\virtualbox and edit creator_uid file (set 0).

If you need to shut down VM run command "vagrant halt"

  1. Run command “vagrant ssh”.
vagrant ssh

You will see "Welcome to your Vagrant-built virtual machine".

If you have the error 'ssh executable not found in any directories in the %PATH%' make sure you have path to Git bin, which contains ssh.exe in the PATH environment variable. (C:\Users\User_Name\AppData\Local\Programs\Git\usr\bin)

  1. Locate cd ../../app
cd ../../app
grunt

Once a web server is started - open http://localhost:3000/ in browser.

Initial steps if you prefer to run application on your machine directly

System Configuration

  1. Configurations below should be made only once on a system level to install all necessary software. Download and Install NodeJS from official site. Once installed - you should be able to run the following in command prompt:
node -v
npm -v
  1. Download MongoDB from official site. Once downloaded - you should unzip it to somewhere locally. Make sure the following files are in place:
  • d:\mongodb\bin\mongod.exe
  • d:\mongodb\bin\mongo.exe
  1. Install Grunt globally from command:
npm install -g grunt-cli

Git Configuration

Configurations below should be made once to download the codebase from remote repository. Clone Git repository into local machine:

git clone https://git.epam.com/anna_pavlova/epmkhrdmh.git

Running Application

Configurations below should be made each time you want to run application locally:

  1. Install all necessary NodeJS dependencies (not necessary to run each time):
npm install
  1. Start database server:

Ensure that your PATH variable in Environment Variables includes path to MongoDB Server bin (e.g. C:\Program Files\MongoDB\Server\3.2\bin)

mongod --dbpath d:/mongodb/data
  1. Start web server:
grunt

Once web server will be started - you should be able to hit http://localhost:3000/ in browser.

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.