Skip to content

DACCS-Climate/daccs-project-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The DACCS Project Website

This site is to give a summary of what the DACCS project is about. It includes a mission statement, vision statement, a list of the Principle Investigators and a list of the Funders.

Building the site

Navigate to the root directory, install the requirements, and build the site by running:

python3 -m pip install -r requirements.txt
python3 build.py

The site files will be automatically built and moved to the /build folder.

By default, all files will be written to the build/ directory. To specify a different directory use the -b option when calling build.py.

To view the site

The files in build directory can be served as a static website. Navigate to the /build folder and start an http server. For example:

cd build/
python3 -m http.server 8000

This will start a basic http server that can be accessed at http://localhost:8000

(Note that this is recommended for development only)

Development

This is how the files are arranged in this repo and how to update them in order to develop this website.

  • Files in the static/ directory will be copied to the build directory without modification.
  • Files in the templates/site/ directory will be copied to the build directory after being updated by the template engine
  • All other directories in the templates/ directory will not be copied to the build directory but will be used by the templating engine
    • templates/layouts/ contains files that should be extended by other template files

The template engine used is Jinja.

About

Information site about the DACCS project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published