Skip to content

Commit

Permalink
build script
Browse files Browse the repository at this point in the history
  • Loading branch information
mymindstorm committed Oct 10, 2018
1 parent ff25849 commit 17a603a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 905 deletions.
32 changes: 6 additions & 26 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,12 @@ apps.fp.o

A dynamic landing page for http://apps.fedoraproject.org

Idea
----

Right now, the apps side of Fedora Infrastructure feels scattered and all over
the place. It seems like I learn that a new thing exists every couple weeks and
it seems like there's not a single easy place where you can stumble into
everything.

That's what this page is for. I'm kind of barging ahead with it without
consulting anyone else yet but I fully intend to take in criticism (and patches,
really!) to make it more awesome and reflective of the community's desires.

You can see a demo version up at https://apps.stg.fedoraproject.org/ right
now.

IPv6-only
---------

Sometimes you may have services that are only available over IPv6.
In such situations, you can mark those as ipv6_only: true in the yaml
and making your webserver serve a different version of ``js/config.js`` for IPv6
and IPv4.
Build
-----

One way to do this is by redirecting the requests to this file to another vhost,
and have that vhost serve a different root directory for IPv4 vs IPv6.
Run the build script:

./build.sh

Help?
-----
Expand All @@ -43,8 +23,8 @@ If you want to use this for another community site, feel free.
Fork, tweak, and run the following to regenerate some of the static
pieces from ``data/apps.yaml``::

python bin/yaml2html.py > apps-yaml.html
python bin/yaml2json.py > js/data.js
python yaml2json.py > data/data.json
python yaml2js.py > js/data.js

Contact
-------
Expand Down
Loading

0 comments on commit 17a603a

Please sign in to comment.