Skip to content

Instantly share code, notes, and snippets.

@ptomato ptomato/
Last active Oct 5, 2018

What would you like to do?
Configure DevDocs on EC2
sudo yum update
sudo yum install gobject-introspection-devel gtk3-devel gstreamer1-devel \
libsoup-devel json-glib-devel gcc-c++ patch readline-devel openssl-devel \
bison bzip2 sqlite-devel git flex intltool python2-devel libxslt-devel \
docbook-xsl python-markdown
curl -O
curl -O
sudo rpm -ivh libyaml-devel-0.1.4-11.el7_0.x86_64.rpm itstool-2.0.2-2.1.noarch.rpm
sudo su - root # otherwise repos can't be reached??
yum-config-manager --enable rhui-REGION-rhel-server-extras
yum-config-manager --enable rhui-REGION-rhel-server-optional
yum-config-manager --enable rhui-REGION-rhel-server-supplementary
yum install cheese-libs-devel clutter-devel clutter-gst2-devel clutter-gtk-devel \
evince-devel geocode-glib-devel gom-devel grilo-devel gtk2-devel \
gtksourceview3-devel libappstream-glib-devel libchamplain-devel \
libgdata-devel libgweather-devel libgxps-devel libnotify-devel libpeas-devel \
librsvg2-devel libsecret-devel libzapojit-devel poppler-glib-devel \
vte291-devel vte3-devel webkitgtk3-devel
mkdir jhbuild
cd jhbuild
git clone --depth=1 git://
cd jhbuild
./ --simple-install
make install
mkdir .config
cat >.config/jhbuildrc <<EOF
modules = ['gobject-introspection']
branches['gobject-introspection'] = ('', 'wip/ptomato/devdocs')
autogenargs = '--disable-gtk-doc'
skip = ['gtk-doc']
jhbuild build
\curl -sSL | bash -s stable
source ~/.profile
rvm requirements run
rvm install 2.3.0
rvm use 2.3.0 --default
gem install bundle
git clone -b gir-redux
cd devdocs
echo "gem 'therubyracer', platforms: 'ruby'" >>Gemfile
bundle install
jhbuild shell
thor gir:generate_all
for docset in appstreamglib10 atk10 cairo10 cally10 champlain012 cheese30 \
clutter10 cluttergst20 cogl10 cogl20 coglpango10 coglpango20 css \
evincedocument30 evinceview30 gck1 gcrui3 gdata00 gdk20 gdk30 \
gdkpixbuf20 geocodeglib10 gio20 girepository20 glib20 gmodule20 goa10 \
gobject20 gom10 grl02 grlnet02 grlpls02 gssdp10 gst10 gstallocators10 \
gstapp10 gstaudio10 gstbase10 gstcheck10 gstcontroller10 gstfft10 \
gstnet10 gstpbutils10 gstriff10 gstrtp10 gstrtsp10 gstsdp10 gsttag10 \
gstvideo10 gtk20 gtk30 gtkclutter10 gtksource30 gupnp10 gweather30 \
gxps01 javascript json10 notify07 pango10 peas10 peasgtk10 poppler018 \
rest07 restextras07 rsvg20 secret1 soup24 soupgnome24 vte290 vte291 \
webkit230 webkit2webextension30 webkit30 zpj00; do
thor docs:generate $docset --force
rackup -o -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.