Skip to content

GSA/Hackathon-Team-10

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MEAN.JS Logo

This application is based on MEAN.JS which is a full-stack JavaScript open-source solution and provides a solid starting point for MongoDB, Node.js, Express, and AngularJS based applications.

Prerequisites

Make sure you have installed all of the following prerequisites on your development machine:

  • Node.js - Download & Install Node.js and the npm package manager. If you encounter any problems, you can also use this GitHub Gist to install Node.js.
  • MongoDB - Download & Install MongoDB, and make sure it's running on the default port (27017).
  • Bower - You're going to use the Bower Package Manager to manage your front-end packages. Make sure you've installed Node.js and npm first, then install bower globally using npm:
$ npm install -g bower
  • Grunt - You're going to use the Grunt Task Runner to automate your development process. Make sure you've installed Node.js and npm first, then install grunt globally using npm:
$ npm install -g grunt-cli

Clone The GitHub Repository

You can use Git to directly clone the INFLO repository from githubb:

$ git clone https://github.com/sonimehul/Hackathon-Team-10.git

This will clone the latest version of the INFLO repository to a Hackathon-Team-10 folder.

Quick Install

Once you've cloned the repository and installed all the prerequisites, go to Hackathon-Team-10/mean directory and install Node.js dependencies using npm:

$ npm install

After that go to Hackathon-Team-10/mean/ui directory and build UI resources using:

$ npm install
$ bower install
$ grunt build

Running Your Application

After the install process is over, you'll be able to run your application using Grunt. Just run grunt default task:

$ grunt

Your application should run on port 3000, so in your browser just go to http://localhost:3000/inflo

That's it! Your application should be running.

Testing Your Application

To execute only the server tests, run the test:server task:

$ grunt test:server

Running in a secure environment

To run your application in a secure manner you'll need to use OpenSSL and generate a set of self-signed certificates. Unix-based users can use the following command:

$ sh ./scripts/generate-ssl-certs.sh

Windows users can follow instructions found here. After you've generated the key and certificate, place them in the config/sslcerts folder.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 75.5%
  • HTML 16.4%
  • CSS 6.8%
  • Other 1.3%