The contents of the old dartlang.org website are now in 3 places:
This repo has the code for the former www.dartlang.org site. Built with Jekyll and hosted on App Engine.
sudo gem install fast-stemmer -v '1.0.2'sudo gem install bundlerbundle install, which installs the gems listed in Gemfile
(liquid, jekyll, etc.).pub is in your path./Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7.choco install python2.choco install ruby.choco install ruby2.devkit.gem install bundler.bundle install from the root of your dartlang project.On a Mac:
pwd/depot_tools
NOTE: You may want to add this to your .bashrc file or your shell's equivalent so that you don’t need to reset your $PATH manually each time you open a new shell.git cl config. For the Rietveld server, specify https://chromiumcodereview.appspot.com.
make server, and leave it running while you edit files../runtests.sh.Note: If you see single-page breadcrumbs on pages such as
http://localhost:8081/tools/pub/cmd/pub-build.html, make sure that you've
installed the latest gem versions.
(Run sudo bundle install and then bundle install.)
You probably won't have make available on the command line by default.
jekyll serve from the src/site folder.build/static.chcp 65001 at the
command prompt to change the code page to UTF-8.
(Jekyll fails silently if this is not done.)build/static and restart jekyll.There is a sanity-test target that tests some very basic features of
dartlang.org with some browser tests:
# launch the local copy of dartlang.org with `jekyll serve`, and test it:
make sanity-test
# test against the live dartlang.org site:
make sanity-test-live
# test against any staged copy of dartlang.org:
bundle exec ruby src/tests/site/sanity.rb <URL>
make deploy.
build/, and then deploys
the site. (Note: You can also run make build and then deploy manually
using App Engine.)make deploy.
(This matters because at least one external program relies on the App Engine
version matching the text in www.dartlang.org/release.txt, and the contents
of /release.txt are generated using the name of the current branch.)/bin/sh: appcfg.py: command not found, try launching
GoogleAppEngineLauncher. If it hasn't yet set up links for its commands,
it'll automatically do so, fixing the problem.(top 30 of 112)
HTML
59.1%
JavaScript
20.3%
Dart
15.4%
CSS
3.7%
The contents of the old dartlang.org website are now in 3 places:
This repo has the code for the former www.dartlang.org site. Built with Jekyll and hosted on App Engine.
sudo gem install fast-stemmer -v '1.0.2'sudo gem install bundlerbundle install, which installs the gems listed in Gemfile
(liquid, jekyll, etc.).pub is in your path./Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7.choco install python2.choco install ruby.choco install ruby2.devkit.gem install bundler.bundle install from the root of your dartlang project.On a Mac:
pwd/depot_tools
NOTE: You may want to add this to your .bashrc file or your shell's equivalent so that you don’t need to reset your $PATH manually each time you open a new shell.git cl config. For the Rietveld server, specify https://chromiumcodereview.appspot.com.
make server, and leave it running while you edit files../runtests.sh.Note: If you see single-page breadcrumbs on pages such as
http://localhost:8081/tools/pub/cmd/pub-build.html, make sure that you've
installed the latest gem versions.
(Run sudo bundle install and then bundle install.)
You probably won't have make available on the command line by default.
jekyll serve from the src/site folder.build/static.chcp 65001 at the
command prompt to change the code page to UTF-8.
(Jekyll fails silently if this is not done.)build/static and restart jekyll.There is a sanity-test target that tests some very basic features of
dartlang.org with some browser tests:
# launch the local copy of dartlang.org with `jekyll serve`, and test it:
make sanity-test
# test against the live dartlang.org site:
make sanity-test-live
# test against any staged copy of dartlang.org:
bundle exec ruby src/tests/site/sanity.rb <URL>
make deploy.
build/, and then deploys
the site. (Note: You can also run make build and then deploy manually
using App Engine.)make deploy.
(This matters because at least one external program relies on the App Engine
version matching the text in www.dartlang.org/release.txt, and the contents
of /release.txt are generated using the name of the current branch.)/bin/sh: appcfg.py: command not found, try launching
GoogleAppEngineLauncher. If it hasn't yet set up links for its commands,
it'll automatically do so, fixing the problem.(top 30 of 112)
HTML
59.1%
JavaScript
20.3%
Dart
15.4%
CSS
3.7%