KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
fiddio
★ 24
Open GitHub ↗
Live-code playback meets audio explanations.
Download README (.md)
Explore Similar Repositories
cloudformation
:
AWS CloudFormation templates for deploying Trend Micro Deep Security Manager and its underlying infrastructure.
elegant-icons
:
The Elegant Icon Font from http://www.elegantthemes.com/blog/resources/elegant-icon-font as composer component with less support.
devise_invalidatable
:
Adds support for Devise to manually invalidate sessions on the server-side.
LongPressRecordButton
:
Simple and easy-to-use record button for iOS, that enforces a long press, similar to Instagram — written in Swift
OMOOCHacker
:
开智学堂「像黑客一样创作」第一期课程 学员仓库
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
fiddio
?
Download (.md)
# [Fidd.io](http://fidd.io) [](https://travis-ci.org/fiddioteam/fiddio) [](https://david-dm.org/fiddioteam/fiddio) [](https://david-dm.org/fiddioteam/fiddio#info=devDependencies)<br> [](https://waffle.io/fiddioteam/fiddio) [](https://waffle.io/fiddioteam/fiddio) [](https://waffle.io/fiddioteam/fiddio) > __Ask. Watch. Learn. Code.__ ## Team - __Erik Eppel__: Product Owner - __Femi Saliu__: Scrum Master - __Thomas Greenhalgh, Kamron Batman__: Development Team ## Table of Contents 1. [Usage](#usage) 1. [Requirements](#requirements) 1. [Installation](#Installation) 1. [PostgreSQL Database](#postgresql-database) 1. [Environment Configuration File](#environment-configuration-file) 1. [Deployment](#deployment) 1. [Contributing](#contributing) ## Usage > On the front end, Fidd.io leverages the [Ace Editor](http://ace.c9.io/#nav=about) API for its in-browser code editors, specifically the [UI.Ace](http://angular-ui.github.io/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 - [Node.js](https://nodejs.org/) - [Express](http://expressjs.com/) - [Postgres](http://www.postgresql.org/) - [Bookshelf.js](http://bookshelfjs.org/) ### Frontend - [AngularJS](https://angularjs.org/) ### Utilities - [Grunt](http://gruntjs.com/) - [Bower](http://bower.io/) - [npm](https://www.npmjs.com/) ## Installation ### PostgreSQL Database [Install Postgres](https://wiki.postgresql.org/wiki/Detailed_installation_guides). For Mac development, use [Postgres.app](http://postgresapp.com/). 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](http://gruntjs.com/getting-started), [Bower](http://bower.io/), and [npm](https://www.npmjs.com/#getting-started) 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](CONTRIBUTING.md).