Code Firefox is a video an exercise tutorial site for coding Firefox and other Mozilla related technologies.
- Fork
bbondy/codefirefox
touser/codefirefox
- Run
git clone https://github.com/user/codefirefox
in the required directory. cd codefirefox
, Move present working directory tocodefirefox
- Install and setup redis
- Run redis-server passing in the command line: redis.conf (listens on port 10226)
- Copy data/config.json.sample to data/config.json, modify it appropriately
- Install node.js (Current Version: v0.10.20)
- Run:
npm install
in the source code directory - Run:
node --harmony app
- Once the server is running visit
localhost:22935/initData
- Browse to
localhost:22935
to see all of the data
https://github.com/bbondy/codefirefox
Tests are run using the Mocha framework. To get tests working just run:
npm test
Once the server is running, you can init data from videos.json by visiting localhost:22935/initData
.
- Extract
third_party/redisbin.zip
to a folder on your Desktop - Copy
third_party/redis-win/redis.conf
to that same folder on your Desktop
- See per platform instructions
- Use the redis.conf from third_party/redis-win/redis.conf
Note : In case you are behind a proxy connection, before running npm install
run the following command.
npm config set proxy http://<proxy_name or proxy_url>:<port_number>
Install node.js (Current Version: v0.10.20) redis-server: https://github.com/MSOpenTech/redis/ (Windows based on Redis 2.6. The latest version merged in 2.6.12)
- Node
- express
- stylus
- jade
- async
- codecheckjs
- acorn.js
- underscore
- prettyjson
- Backbone.js
- React
- RequireJS
- Add the video slug to data/videos.json
- Are there any links to MDN or other resources that should be added?
- Add a postedDate field to the JSON file
- Run
npm test
- Subtitle the live in English from the local server
- Or alternatively, at least watch the video on the locally deployed server (sometimes ScreenFlow doesn't encode properly)
- Add to git and push
- Pull in on codefirefox.com
- Double check live video is live
- Post link on @codefirefox twitter
- Add link for translations to Mozilla team Amara site: http://www.amara.org/en/teams/add/video/mozilla/