This repository holds the topics required for the admission process in spanish and portuguese.
Install dependencies: yarn
or npm install
- Copy
.typeformrc.example
file toadmission-es/.typeformrc
oradmission-pt/.typeformrc
- Add all typeform ids inside
.typeformrc
file according to environment.
The Typeform ids required are:
"TYPEFORM_ID_BASE_LINE_QUESTIONNAIRE": "your-typeformid",
"TYPEFORM_ID_TESTS_READING": "your-typeformid",
"TYPEFORM_ID_TESTS_LOGIC": "your-typeformid",
"TYPEFORM_ID_TESTS_PERSONALITY": "your-typeformid",
"TYPEFORM_ID_TESTS_EMOTIONAL_INTELLIGENCE": "your-typeformid",
"TYPEFORM_ID_TESTS_MATH": "your-typeformid"
Remember: There are three environments available (development, staging and production) for different purposes, but you can add others environments if you want.
Important: Make sure you are building the right content for your environment and language
You can pass 2 environment variables: env
, locale
env
: development
, staging
, production
locale
: es-ES
, pt-BR
By default locale
takes the value es-ES
For instance:
yarn build --env=production --locale=pt-BR
The final content will be saved in build/admission-pt.json
file
- To validate the course content
yarn validate
- To run markdown linter
yarn mdlint
- To run tests and pretest
yarn test