Frontend code for SaveTheInternet in Europe
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with AKVorrat:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
content
fonts
icons
images
layouts
scripts
stylesheets
.gitignore
.jshintrc
.node-version
.ruby-version
Gemfile
Gemfile.lock
Gulpfile.js
README.md
build_and_deploy.sh
build_html.rb
config.ru
package.json
translations-ready.yml

README.md

STI-UI

Frontend code for savetheinternet.eu

Translations

The content files for each language (based on the English originals) can be found here:

./content/site/[TWO_LETTER_CODE]/

Example - content files for English site:

content/site/en
├── config.yml
├── faq
│   └── index.md
└── index.md

Set language to be ready for building (and deployment)

To mark certain languages ready to be built (and deployed) add the corresponding two-letter-codes as a new line in:

./translations-ready.yml

Build & Deploy

!! Please refrain from building this for translation purposes, the only things needed for doing translations are the listed steps from above. !!

Setup build environment:

  • Download and install ruby 2.3.0
  • Install ruby dependencies:
cd /STI-UI
bundle install
  • Download and install node.js v5.7.1 via the official installer or via nodenv (we use 5.7.1 locally in themes/sti).
  • Install node.js dependencies:
cd /STI-UI
npm install

Run without parameters to see usage of build & deploy script:

cd /STI-UI
./build_and_deploy.sh