Name: xmpp.org
Owner: xmpp.js
Description: xmpp.org website (builds: https://travis-ci.org/xsf/xmpp.org/builds)
Created: 2017-09-04 09:25:24.0
Updated: 2017-09-04 09:25:27.0
Pushed: 2017-09-04 09:36:18.0
Homepage: http://xmpp.org
Size: 34863
Language: CSS
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Please log any issues.
Any editorial questions: Laura Gill or Simon Tennant can help
/content/pages
or directly in GitHub.Please use xsf@muc.xmpp.org for discussions about the site, content, generation etc.
Pelican's QUICKSTART page is a good place to learn about the basics of Pelican (installation, project skeleton, development cycle, etc.).
Two types of installations are documented: a regular one, and one that creates a virtual environment via Vagrant.
To run a development server on your local computer, follow these basic steps:
clone ssh://git@github.com/xsf/xmpp.org.git
stall Pelican and dependencies
mpp.org
Running the server in development mode:
serve
If you want the server to autoreload whenever a file change, you can instead do:
devserver
View at http://localhost:8000
The Makefile will build the website completely just by make
. It'll do
the following:
Create a build Docker image (make builder
) which is a development
environment with a complete set of dependencies ready.
Run this docker image on the xmpp.org directory locally. This directory
is presumed to contain a checked out repository for the website. (make site
)
From the newly created static files in deploy/output
, it will then create
a minimalist docker image to actually serve the website. (make deployer
)
For development convenience, you can run the website on port 8080 by make serve
For your convenience, this repository ships with a basic Vagrantfile, which allows you to create virtual machine with all the dependencies required for local development.
Assuming your computer has Vagrant installed, the following will get you a running server:
clone ssh://git@github.com/xsf/xmpp.org.git
mpp.org
ant up
ant ssh
vagrant/
devserver
Now, the wesite should be available at http://localhost:8000
o>
bfile.py
velop_server.sh
kefile
ADME.md
licanconf.py (development configuration)
blishconf.py (production configuration)
tput
<generated files - published to gh-pages branch>
ntent
pages
<website page files>
lican-bootstrap3
<website theme>
To just generate a new version (without starting up a local webserver) just do:
make html
You can modify the theme (layout and styling) in the xmpp.org-theme directory.
Make changes to Sass files, not compiled CSS.
npm i
then run grunt
to compile Sass.