-
Notifications
You must be signed in to change notification settings - Fork 0
Setup toolchain
You will need the following tools:
nodejsyarn-
rust(when you work on the repo database-layer)
Take the following versions:
-
nodejs: Use the most recent version of the version which is mentioned inpackage.jsonin the keywordengines(see https://github.com/serlo/cloudflare-worker/blob/1bcbd91ec943daeecb042937b633c437ed7538c8/package.json#L92-L94 for an example which mentioned16.x) -
yarn: Use the most recent version -
rust: Usestable
See how to install each one of these for your OS.
You could use asdf-vm for installing the tools you need (like NodeJS or Rust). Follow the instructions to install asdf on their site "Getting started".
In order to install a tool you need to run the following commands:
# Install the asdf plugin for the tool, like `nodejs`
asdf plugin add <tool-name>
# List all available versions for the tool
asdf list all <tool-name>
# Install the tool in the version you need
asdf install <tool-name> <version>Make yourself familiar on how you can set a version with asdf. When you use the asdf local variant make sure, that you have .tool-versions in your global .gitignore file.
For installing yarn the necessary command might look like:
asdf plugin add yarn
asdf list all yarn
asdf install yarn 1.22.18
asdf global yarn 1.22.18Clone the repository you want to work in. Follow the instructions in the README.md for setting up the work environment.
- VSCode for TypeScript: https://github.com/serlo/frontend/wiki/VS-Code
- WebStorm for TypeScript: https://www.jetbrains.com/webstorm/
In WebStorm you can install a plugin for GraphQL.
TODO: Write instructions for setting up VScode / intelij / nvim
- Home
- Serlo Infrastructure
- Serlo Infrastructure for Non programmers
- Resources for new programmers
- Setup of the toolchain
- Best Practices
- Data Privacy for Devs
- How Tos
- Single Sign On
- Integration with the Data Wallet
- User-Journey: SSO and Data Wallet
- User-Journey: Collaboration with Serlo Editor + Datenraum
- Integration of "Datenraum" into the Serlo Editor
- Introduction to the Serlo editor
- Core concepts of the Serlo editor
- Packages of the Serlo editor
- Creating a new plugin (outdated)
- Redux process in the Serlo editor
- The content format of the Serlo editor
- Serlo Editor Plugin Initial State
- How the Serlo Editor is integrated into edu-sharing via LTI
- Learner Events and xAPI