Giter Site home page Giter Site logo

fiddio's Introduction

Build Status Dependency Status devDependency Status
Ready ![In Progress](https://badge.waffle.io/fiddioteam/fiddio.png?label=In Progress&title=In Progress) ![Under Review](https://badge.waffle.io/fiddioteam/fiddio.png?label=Under Review&title=Under Review)

Ask. Watch. Learn. Code.

Team

  • Erik Eppel: Product Owner
  • Femi Saliu: Scrum Master
  • Thomas Greenhalgh, Kamron Batman: Development Team

Table of Contents

  1. Usage
  2. Requirements
  3. Installation
    1. PostgreSQL Database
    2. Environment Configuration File
    3. Deployment
  4. Contributing

Usage

On the front end, Fidd.io leverages the Ace Editor API for its in-browser code editors, specifically the UI.Ace from AngularJS's UI Team. The factories responsible for configuring and coordinating the ace editor directive can be found in client/app/editorServices.

Requirements

Backend

Frontend

Utilities

Installation

PostgreSQL Database

Install Postgres. For Mac development, use Postgres.app.

With Postgres installed, set up the database with the following commands:

CREATE DATABASE fiddio;
CREATE USER root PASSWORD '';
ALTER USER root with SUPERUSER;

Environment Configuration File

In the root of the project, add a file called .env with the following:

NODE_ENV    = 'development'

urlAbsolute     = 'fidd.io'
urlAbsoluteDev  = 'localhost:8000'

port            = 80
portDev         = 8000

dbClient        = 'postgres'
dbHost          = '127.0.0.1'
dbUser          = 'root'
dbPassword      = ''
dbDatabase      = 'fiddio'

ghApiIdDev      = ''
ghApiSecretDev  = ''

ghApiId         = ''
ghApiSecret     = ''

fbApiIdDev      = ''
fbApiSecretDev  = ''

fbApiId         = ''
fbApiSecret     = ''

mpApiId     = ''
mpApiSecret   = ''

sessionKey      = 'fiddio'
sessionSecret   = 'we like kitties!'

In the .env file, change NODE_ENV to production for deployment on a production server.

Deployment

With Grunt, Bower, and npm installed globally, install dependencies by running the following commands from the terminal:

npm install
grunt

grunt installs front end dependencies and starts the server. To build the project without starting the server, run grunt build instead of grunt.

To stop the server from running in the background in production mode, run grunt stop.

Contributing

Fidd.io welcomes contributors. To begin contributing, please, see the contributing guidelines.

fiddio's People

Contributors

femi-saliu avatar kamronbatman avatar epps avatar tbg01 avatar tgreenhalgh avatar alexjeng avatar kalisafalzone avatar

Watchers

James Cloos avatar  avatar

Forkers

firebrandnation

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.