Code Monkey home page Code Monkey logo

crowd-source's Introduction

COS301_GroupProject

Sample project can be found at http://188.166.89.244

Build Status Dependency Status Stories in Ready Stories in Progress

This is the repo for the COS301 Main Project, for team "The fellowship of the CIN". ##Installation insturctions. First clone the repo.

git clone https://github.com/FrikkieSnyman/COS301_GroupProject.git

Now change to the directory and run the install. This will use npm install to install the backend dependencies and it will also run bower install to install frontend dependencies.

npm install

Ensure that an instance of monogDB is running, then to run the server use

grunt

Once you have done this you can navigate to http://localhost:3000/ to view the page and start interacting with it.

##How to setup the database You need to have mongodb installed on your pc. Please follow the link for futher instructions. http://docs.mongodb.org/manual/installation/ After you have installed mongdb you can start it in the terminal with.

mongod 

On some systems the sudo command might be required. Now we will want to create a database. In order to do this we simply logon to mongo.

mongo

Then we create the database we want to use with the 'use' command.

use myDB

Congratualtions you have created your database. The only thing left now is to add your database credentails to the config.js file.

##Unit tests NOTE: The unit tests can only be run on a Unix based system (ie, OSX/Linux), seeing as some environment variables are set in the npm scripts.

First, ensure you have phantomjs installed globally To install phantomjs globally (might require superuser rights)

npm install phantomjs -g

Now navigate to the root of the project, and run

grunt test

to run the unit tests. This will run the backend tests as well as the frontend tests ##JSCS JSCS is used to validate code style, this allows all of the code to have a similar style thus making it easier to understand.

To use JSCS first install the jscs npm package with the command

npm install -g jscs

Once this is done a file can be checked in the terminal using the command

cat example.js | jscs

The following two sublime text packages can also be used to assist with the checking process:

  • SublimeLinter-jscs
  • JSCS-Formatter

##Mobile Application

The mobile app will be built at a later stage.

crowd-source's People

Contributors

frikkiesnyman avatar hanrichpotgieter avatar hugogreyvenstein avatar acalitz avatar chrisocloete avatar waffle-iron avatar

Stargazers

Juan Heyns avatar  avatar  avatar

Watchers

Jaco Joubert avatar James Cloos avatar Juan Heyns avatar  avatar  avatar Stacey Baror avatar  avatar  avatar  avatar  avatar

Forkers

juanheyns

crowd-source's Issues

DeleteProjectBug

Deleting a project works, but there is an unexplainable error in Chrome and in Firefox

PhoneGap

I had to make another copy of the bootsrap.css files and moved it to the roo/bin/ folder. This had to happen beacuse phoneg gap copies the index.html file from ./www directory into the root directory. Then obviously the html document cannot find its dependancies. I am not sure how we can resolve this but we will definitely require a better solution.

Also I had to rename the ./public folder to ./www as this was required by phone gap.

lastly I had to rename the ./documentation/softwarere........ to a shorter name. Phonegap does not like huge document names.
Thankfully the app works now but we do require a better solution.

FAB Toolbar is too thick

The height of the Toolbar is currently displayed as two whole lines. It should only be one line thick.

Hide menu on small screen after use

Currently the menu does not close after the user has used it for navigation. It has to be closed after it is used manually. This needs to be changed such that the menu closes automatically.

Create project

(1)Style the create projects page.
(2)Add navigation to the project after successful creation of a project.

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.