GithubHelp home page GithubHelp logo

kmzurlocuva / code-dot-org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from code-dot-org/code-dot-org

0.0 1.0 0.0 4 GB

The code powering code.org and studio.code.org

Home Page: http://code.org

License: Other

Ruby 2.30% JavaScript 82.97% POV-Ray SDL 0.01% Shell 0.04% Python 0.12% CSS 2.46% Perl 0.01% HTML 9.42% Emacs Lisp 0.01% Gherkin 0.14% Prolog 0.01% Processing 0.01% PHP 2.30% SourcePawn 0.07% C++ 0.01% ApacheConf 0.01% Racket 0.13%

code-dot-org's Introduction

Build Status on Travis

Circle CI on Circle

Coverage Status for dashboard unit tests

Build setup

This Setup document describes how to set up your workstation to develop for Code.org.

Codebase

Organizational Structure

Our code is segmented into four parts:

  • Blockly Core is the visual programming language platform used for the interactive tutorials.
  • Blockly includes apps—blockly puzzles built based on Blockly Core.
  • Dashboard, is the tutorial platform which organizes blockly levels into tutorials.
  • Pegasus is the main site which also includes the teacher dashboard (support for teachers to track student progress).

Running Dashboard

  1. cd code-dot-org
  2. rake build:dashboard (Generally, do this after each pull)
  3. bin/dashboard-server
  4. Visit http://localhost.studio.code.org:3000/

Running Pegasus

  1. cd code-dot-org
  2. rake build:pegasus (Generally, do this after each pull)
  3. bin/pegasus-server
  4. Visit http://localhost.code.org:3000/

Building Javascript (apps, blockly-core, and code-studio) (optional)

The studio.code.org default dashboard install includes a static build of blockly and of code-studio js, but if you want to make modifications to these you'll want to enable building them in the build:

Enabling Apps Builds

You'll need to do this once:

  1. OS X:
  2. Install the Java 8 JDK
  3. cd code-dot-org
  4. To build apps/blocky-core, edit locals.yml to add:
  5. Add build_apps: true
  6. Add build_blockly_core: true (if you want to build blockly core -- not necessary if you only want to make changes to apps)
  7. Add use_my_apps: true
  8. To build code_studio js, edit locals.yml to add:
  9. Add use_my_code_studio: true
  10. rake install

This configures your system to build apps/blockly-core/code-studio whenever you run rake build and to use the versions that you build yourself.

Building

  1. cd code-dot-org
  2. rake build

This will build everything you have set to build in locals.yml.

You can use rake build:apps, rake build:blockly_core and rake build:code_studio to build a specific project.

You can also set build_dashboard: false and/or build_pegasus: false in locals.yml if you don't need to build these frequently. They default to true.

Alternatively, you can run: rake build:core_and_apps_dev, which will build blockly core and the apps bundle without running tests and without localization.

Contributing

Wondering where to start? See our contribution guidelines for more information on helping us out.

code-dot-org's People

Contributors

deploy-code-org avatar islemaster avatar bjvanminnen avatar tanyaparker avatar laurelfan avatar breville avatar bcjordan avatar davidsbailey avatar philbogle avatar wjordan avatar cpirich avatar hamms avatar ashercodeorg avatar geoffrey-elliott avatar caleybrock avatar rlhawk avatar mehalshah avatar aoby avatar sfilman avatar kozzi avatar dabbler0 avatar balderdash avatar steveeisner avatar mrjoshida avatar beezwaxz avatar mehals avatar pickettd avatar phantommike avatar ty-po avatar joshlory avatar

Watchers

Kate Zurlo-Cuva avatar

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.