How to run
git clone email@example.com:yldio/yld.io.git cd yld.io yarn
In order to access data from contentful make sure that you have an .env file that matches the contentful keys and tokens:
CONTENTFUL_TOKEN=(see in contentful/settings/API keys) CONTENTFUL_SPACE=(see in contentful/settings/API keys) MEETUP_KEY=(see in contentful/settings/API keys) GATSBY_ENVIRONMENT="development"
You can now run:
We have some docs to make it easier to get you started:
- a new commit is pushed to our production (
master) branch, read more here;
- the Contentful data is updated (via webhook).
Also, for each Pull Request that's open, a Deploy Preview is created, allowing for that branch to be tested and shared amongst stakeholders.
Content Model notes
This section serves as a information repository for some of our content models, stating what they represent and explaining some of their fields, if needed.
This content type describe YLD's specialities (Design and engineering methodologies, technologies, models, patterns, etc). These specialities may or may not have their own page and that's decided based on the content.
- generate: a boolean value that indicates wether a page should be generate for the current speciality;
- Blogpost tags: comma-separated list of tags that should be considered when displaying the latest blog posts for the current speciality. By default, the speciality title is already added as a tag, so this fields are added to that base filtering.
Browsers people are using to access our website, based on google analytics:
- 70% chrome
- 23% safari
- 3.5% firefox
- 0.15% IE
We current support:
We're working towards supporting IE11 & introducing graceful fallbacks for earlier versions (for where this sits in our priorities, see trello).