From ca865b621084ae1d405191b1336312e0f5c5bb05 Mon Sep 17 00:00:00 2001 From: RonaldDijkstra Date: Wed, 8 Nov 2017 09:23:03 +0100 Subject: [PATCH] Put original readme below NOTICE --- README.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 53 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 128ccce..03e8d93 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,57 @@ +**We recently moved LearningSpaces to CAPP Agile Learning:** + +**[English](https://en.defacto.nl/capp-agile-learning/)** +**[Nederlands](https://www.defacto.nl/capp-agile-learning/)** +**[Deutsch](https://www.defactolearning.de/capp-agile-learning/)** + +**The original branch of the LearningSpaces website [can be found here](https://github.com/DefactoSoftware/LearningSpaces-Landing/tree/original)** + +--- + ## LearningSpaces Landingpage -We recently moved LearningSpaces to CAPP Agile Learning: +[LearningSpaces](https://learningspaces.io) lets you quickly set up a learning community where you create and share knowledge with your team. + +#### Serve and Build +We serve and build our localized websites using different `-e` environment flags: + +```bash +# Serve using a single locale +bundle exec middleman -e en +bundle exec middleman -e nl +bundle exec middleman -e de + +# Build using a single locale +bundle exec middleman build -e en +bundle exec middleman build -e nl +bundle exec middleman build -e de +``` + +Builds can be found in the `build` directory and the server runs at http://localhost:4567. + +You can still serve and build without specifying an environment (for development purposes only). This will build all additional locales as subdirectories, e.g. `/nl` or `/de`. +Note that serving or building single locales using environments doesn't have i18n fallback. + +#### Deploy +Build and deploy to Amazon S3: +```bash +# Deploy all locales +./deploy + +# Deploy single locale +./deploy en +./deploy nl +./deploy de +``` + +#### Useful links for debugging + +- [http://localhost:4567/__middleman/config/](http://localhost:4567/__middleman/config/) +- [http://localhost:4567/__middleman/sitemap/](http://localhost:4567/__middleman/sitemap/) + +#### Dependencies -[English](https://en.defacto.nl/capp-agile-learning/) -[Nederlands](https://www.defacto.nl/capp-agile-learning/) -[Deutsch](https://www.defactolearning.de/capp-agile-learning/) +- Ruby 2.2.0 +- Bundler -The original branch of the LearningSpaces website [can be found here](https://github.com/DefactoSoftware/LearningSpaces-Landing/tree/original) +To install other dependencies run `bundle install` from the root of the project