Introduction
Airs is the product that contains our home page, the description of services we provide to our customers, our blog, security advisories, the careers page, and is usually the first point of contact people have with our company.
Public Oath
The home page is https://fluidattacks.com
Architecture
- Airs is a static site built with Tachyons, React, Gatsby, and TypeScript.
- It declares its own infrastructure using Terraform.
- It uses Markdown files to store its content.
- Sensitive secrets like Cloudflare authentication tokens are stored in encrypted YAML files using Mozilla SOPS.
- It uses Algolia to provide a search bar.
- It uses Cloudinary as main multimedia host.
- DNS records, cache, custom headers, redirections and firewall are managed by Cloudflare.
- The website is hosted on AWS S3.
- Ephemeral environments are deployed in
web.eph.fluidattacks.com/<branch>
so developers can check that everything works as expected before going to production.
Contributing
Please read the contributing page first.
Development Environment
Configure your Development Environment.
When prompted for an AWS role, choose dev
,
and when prompted for a Development Environment, pick airs
.
Local Environment
Run this command within the universe
repository:
This will launch a replica of fluidattacks.com on your localhost, which you can interactively develop and test.
Recommendation
You may need to configure the swap memory in your operative system so that the site runs perfectly without limiting a lot the resources of your device, using this Tutorial you can configure it, recommended 20 gb swap memory