Code Monkey home page Code Monkey logo

precice.github.io's Introduction

preCICE Webpage https://www.precice.org/

Local development

The website is using Jekyll static website generator and Github pages. To run and develop it locally you would need Ruby and Bundler. With Ruby, you can install bundler using gem install bundler.

After that all you need is:

git clone https://github.com/precice/precice.github.io && cd precice.github.io
bundle install
git submodule init
git submodule update
bundle exec jekyll serve --safe -l

You can now view website locally in your browser at http://localhost:4000

Update submodules

Submodules do not yet get updated automatically. This means if you change something in the OpenFOAM adapter documentation or the description of the tutorials, you need to explicitely trigger an update here:

git submodule update --remote --merge

This updates all submodules. You can call it from everywhere (you do not need to cd into the submodule). Afterwards, commit and push.

Do not directly edit the content of the submodules from within the website repository. This might give ugly merge conflicts.

SASS

We use SCSS in our project, NOT the semicolon and braceless style that is SASS.

We use the front-end framework foundation 6.5.1. The sass files are located in _sass, the main settings file is _settings.scss. Due to the restrictions of jekyll's strict mode we are not allowed to specify multiple search paths.

Thus, the sass-roots of foundation and its dependecies are merged in the folder foundation. Please leave this directory untouched as it greatly simplifies updating the foundation framework.

The folder precice contains project specific files, these are all imported by _precice.scss at the root. Use this folder to add new css.

css/main.scss is the main css file that will be compiled and compressed into the final css file.

precice.github.io's People

Contributors

fsimonis avatar makish avatar uekerman avatar benjaminrodenberg avatar kyledavissa avatar davidscn avatar oguzziya avatar ishaandesai avatar chlorenz avatar ajaust 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.