A website for the Kepler/K2 Science Center that doesn't suck™
Live URL: http://keplerscience.arc.nasa.gov
Test URL: http://keplergo.github.io/KeplerScienceWebsite/
make html
to build a static HTML version of the website.make devserver
to start a development webserver on your local machine, and the point your browser tolocalhost:8000
.make github
to deploy the website to the preview server.
You will need to ensure that pelican
, markdown
and beautifulsoup4
are installed, e.g. using:
pip install pelican markdown beautifulsoup4
If markdown
is not installed, you may only see a cryptic warning message (e.g. No valid files found in content.
) when running make html
.
The website's theme is based on the flatly
bootstrap theme.
This means that you can use all the html elements and classes
which are demonstrated here:
https://bootswatch.com/flatly/
and of course the bootstrap
css classes can be used as well:
http://getbootstrap.com/css
The content can be defined in MarkDown (md), ReStructuredText (rst), or simply html. There is a useful Markdown cheat sheet here:
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet