This repository is home to the Resardis Decentralized Cryptocurrency Exchange Website. The repo does not include the web application for trading, it only houses: home page, articles, support/help pages, contact and other statically-generatable parts.
Bundling of CSS/SCSS, fonts, images/favicons, and JavaScript is done via Webpack. Site generation is done Jekyll.
In overall, everything in the _src/
directory is processed by webpack
. _layouts/
, _includes/
, _data/
, _posts/
is used by Jekyll
.
The following is the step-by-step walk-through of the build process:
- All the static assets (images, js, css etc.) are bundled using
ẁebpack
into theassets/
directory. Jekyll
templates in_src/template
are injected with the bundled asset links usingwebpack
, then outputted into_layouts/
directory.Jekyll
then usesassets/
and the processed_layouts/
to create the webpages. Note that there is aJekyll
post-write hook in_plugins/
which moves the contents of the_site/assets/favicons/
directory to the_site/
root.
-
Make sure you have
node.js
installed. See node.js snap for Linux installation, or check out the official page for other installation methods. -
Yarn
is being used as the package manager forNode.js
modules. Install dependencies withyarn
:
cd <projectDir>
yarn install
-
Make sure you have
ruby
,jekyll
andbundler
installed. See Jekyll Docs. -
Install
Ruby
dependencies of the project:
cd <projectDir>
bundle install
stylelint
is used for css
and scss
linting, eslint
is used for javascript
linting.
cd <projectDir>
yarn lint:all
yarn lint:all:fix
Generated html is validated and checked for broken links, non-https links, presence of favicons using the html-proofer
, a Ruby
package. The configuration options is specified in Rakefile
. Building with Jekyll
also enforces strict front matter.
cd <projectDir>
yarn test
- Add separate pages for authors, in detail. This also concers updated structured data for authors.
- Add collections and series to the Articles section.
- Add Backers & Sponsors to the homepage.
- Add a rough roadmap to the homepage.
- Add (maybe) team members to the homepage.
- Fix: Google takes the wrong organization logo, despite the structered data. It seems that it takes the logo in navbar.
The software code and the content are licensed separately, see below for the details.
Copyright 2019-2020 Cagatay Aydin (Çağatay Aydın in Turkish character set) and Ilhan Cem Duru.
resardis-website-static is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
resardis-website-static is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with resardis-website-static. If not, see https://www.gnu.org/licenses/.
Copyright 2019-2020 Cagatay Aydin (Çağatay Aydın in Turkish character set) and Ilhan Cem Duru.
The content (e.g. articles, blog posts, how-to's, tutorials, texts, original images and original digital work) is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License unless otherwise stated. By default, this includes, but not restricted to, all the files and work in ./_posts
, ./_src/favicons
, ./_src/img
directories and all the markdown (*.md
) files (except LICENSE.md files) unless otherwise stated.