GithubHelp home page GithubHelp logo

dominikbernhardt / gapwww Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gap-system/gapwww

0.0 1.0 0.0 29.15 MB

Source for the GAP website

Home Page: https://www.gap-system.org

Shell 0.32% GAP 0.78% HTML 98.56% CSS 0.20% Python 0.14%

gapwww's Introduction

GapWWW

Build Status

This is the source repository for the GAP website https://www.gap-system.org.

The GAP website is NOT hosted on GitHub pages, and therefore there is NO branch named gh-pages here. We host it elsewhere, but we use GitHub for collaborative work on the website. We welcome contributions ranging from fixed typos and updated details to suggestions regarding the structure of the website and its improved look.

For small improvements (e.g. correcting details and fixing typos), the procedure is as simple as just submitting an issue or pull request here. Please take into account that some files, in particular package YAML files Packages/<pkgname>.html are generated automatically from the metadata in PackageInfo.g files. Incorrect information there should not be changed via pull requests, but reported to package authors instead. In doubt, please submit an issue before making a pull request, and we will be able to advise on further steps.

For larger changes, it will be useful to build a local version of the GAP website first. This requires use of Jekyll.

Actually publishing changes to the website

After a change has been committed this repository, currently one needs to manually get the change onto the website. This can be done as follows:

  1. ssh into gap-web.host.cs.st-andrews.ac.uk (requires an account in St Andrews)

  2. for a test deployment (recommended), first cd test.gap-system.org (then the update will be published on https://test.gap-system.org), otherwise cd www.gap-system.org

  3. run git up (an alias we configured there for git pull --ff-only)

  4. run jekyll build

That's it.

Warning about package manuals

Note that the Manuals directory is not in this git repository, as it is too large (about XXX GB of data). This is why they are only on the server, in the directory ~/www.gap-system.org/Manuals (so be very careful never to delete that!). To get them to appear in the right place on the website (they don't automatically, as they are not in the ~/www.gap-system.org/_site directory), we configured nginx to put them there, via /host/gap-web/nginx.d/www.gap-system.org/_global.conf

Tweaking the server config

In general, config files for the nginx web server are in /host/gap-web/nginx.d/ E.g. in /host/gap-web/nginx.d/www.gap-system.org.

You need to read up about nginx config syntax if you want to fully master these, but for basic things it usually suffices to look at the existing config files and one can often guess what they do.

After you make a config change it won't have any effect immediately. You need to tell nginx to reload its config. But first, validate it for syntax errors:

nginx -c /host/gap-web/nginx.conf -t

If that worked, reload the config:

nginx -c /host/gap-web/nginx.conf -s reload

gapwww's People

Contributors

alex-konovalov avatar chrisjefferson avatar danielrademacher avatar dimpase avatar fchapoton avatar fingolfin avatar frankluebeck avatar friedrichrober avatar hungaborhorvath avatar mtorpey avatar paulahaehndel avatar russwoodroofe avatar ruthhoffmann avatar ssiccha avatar stefan-kohl avatar wilfwilson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.