GithubHelp home page GithubHelp logo

daxiangxiang / precice.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from precice/precice.github.io

0.0 0.0 0.0 102.88 MB

The website of preCICE

Home Page: https://precice.org/

Shell 1.17% JavaScript 7.94% Ruby 4.28% CSS 31.47% TeX 8.59% HTML 46.54%

precice.github.io's Introduction

preCICE Webpage - 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 -l

You can now view website locally in your browser at 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 explicitly 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.

Further information

If you would like to learn more about the preCICE documentation, a good start are the documentation of the documentation pages.

Common issues while building the site

  • If you get permission issues to install gems, resist the impulse of sudo: you can install the dependencies locally by running bundle config set --local path 'vendor/bundle' before bundle install.

  • If you get errors like Gem::Ext::BuildError: ERROR: Failed to build gem native extension. or mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h, then (as the error message suggests), you may need to install a Ruby development environment (e.g., ruby-dev).

  • If you are a poor soul that is stuck developing on Windows, the -l flag is known to crash, so best try without.

  • Should you get the warning

    Fetching citation data failed with OpenURI::HTTPError

    while building the site locally, then you have been rate limited by Google Scholar. The citation database won't be up to date. Alternatively open http://scholar.google.com/ in a browser and complete the Captcha.

For further information see the documentation page on common issues.

precice.github.io's People

Contributors

makish avatar fsimonis avatar uekerman avatar davidscn avatar precice-bot avatar benjaminrodenberg avatar kyledavissa avatar ishaandesai avatar oguzziya avatar ajaust avatar chlorenz avatar boris-martin avatar erikscheurer avatar ccaccia73 avatar atotoun avatar arvedes avatar scriptkiddi avatar j8asic avatar julianschliessus avatar julianschl avatar kursatyurt avatar matthiasfreimuth avatar carlosal1015 avatar yashas17 avatar luzpaz avatar nkr0 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.