You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The learn.code.org default dashboard install includes a static build of blockly, but if you want to make modifications to blockly or blockly-core:
79
+
The learn.code.org default dashboard install includes a static build of blockly, but if you want to make modifications to blockly or blockly-core you'll want to enable building them in the build:
80
+
81
+
### Enabling Blockly Builds
82
+
83
+
You'll need to do this once:
84
+
85
+
1. OS X:
86
+
1. Install the [Java 8 JDK](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
87
+
1. Install [XQuartz](http://xquartz.macosforge.org/trac) (NOTE: This is required to build the Canvas dependency).
88
+
1.`cd code-dot-org`
89
+
1. Edit `locals.yml`
90
+
1. Add `build_blockly: true`
91
+
1. Add `build_blockly_core: true`
92
+
1. Add `use_my_blockly: true`
93
+
1.`rake install`
88
94
89
-
1.`cd code-dot-org/dashboard`
90
-
1.`bundle exec rake 'blockly:dev[../blockly]'`
91
-
* This symlinks to dashboard reference the dev version of blockly
92
-
1. Follow the blockly build instructions at `blockly/README` or blockly-core build instructions at `blockly-core/README`
95
+
This configures your system to build blockly (and blockly-core) whenever you run `rake build` and to use the version of blockly that you build yourself.
96
+
97
+
### Building Blockly and Blockly-Core
98
+
99
+
1.`cd code-dot-org`
100
+
1.`rake build`
101
+
102
+
This will build everything you have set to build in `locals.yml`.
103
+
104
+
You can use `rake build:blockly` and `rake build:blockly_core` to build a specific project.
105
+
106
+
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`.
93
107
94
108
## Contributing
95
109
96
110
We'd love to have you join our group of contributors!
97
111
98
112
### Before You Push
99
113
100
-
Anyone who would like to contribute to **[code.org](https://github.com/code-dot-org/)** projects **must read and sign the Contribution License Agreement**. We aren't able to accept any pull requests from contributors who haven't signed the CLA first.
Anyone who would like to contribute to **[code.org](https://github.com/code-dot-org/)** projects **must read and sign the [Contributor License Agreement](https://na2.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=8eb90665-c9f7-4b06-81a5-11d12020f251)**. We can't accept pull requests from contributors who haven't yet signed the CLA.
103
115
104
116
### Getting Started Contributing
105
117
@@ -145,7 +157,7 @@ Contributors should follow the GitHub [fork-and-pull model](https://help.github.
- Click on the "Pull Request" link, look over and confirm your diff
150
162
- Submit a pull request for your branch to be merged into staging
151
163
- For bonus points, include screenshots in the description. Command + Ctrl + Shift + 4 in OS X lets you copy a screen selection to your clipboard, which GitHub will let you paste right into the description
0 commit comments