Coder Social home page Coder Social logo

nz62www's Introduction

proton-irradiation-www

Website for proton irradiation station at IFJ PAN:

Installation

This repository uses git submodules, therefore simple git clone operation may not be enough to get all contents. Git submodules are used for Hugo static HTML generator theme. Clone the repo:

git clone [email protected]:grzanka/nz62www.git --recursive

or

git clone [email protected]:grzanka/nz62www.git
git submodule update --init

Install Hugo:

sudo snap install hugo

or:

sudo apt install hugo

Generate the website:

cd nz62www
hugo

Contents of the repository

The page is generated using [Hugo]https://gohugo.io). The repository contains:

  • content/ - directory with the content of the page in the Markdown format
  • config.toml - configuration file for the Hugo generator
  • layouts - custom layouts adjustments for the theme
  • themes - directory with the customised Hugo docdock theme
  • .env - file with enviroment variables for connection details to deploy site to IFJ server (server, username, path)
  • deploy.sh - deploy script which builds the page and uploads it to IFJ server

Page layout is based on the DocDock theme.

Github Actions (customised in .github/workflows/) are used to run automatic tests after every commit. These checks ensure that the page is generated correctly and that all links are valid.

Deployment

LFTP deploy is handled by deploy.sh script. It assumes that necessary credentials are stored in the .env file of in the environment variables. You can use it to deploy site to the IFJ web server.

How to contribute

If you want to contribute to the page, please follow these steps:

  1. Create new branch from the main master branch
  2. Make changes in the new branch
  3. Create pull request to the master branch
  4. Wait for the review and merge. Once the pull requests is merged, Github Actions will automatically deploy the page to https://grzanka.github.io/nz62www/

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.