Skip to content

FAForever/website

Repository files navigation

Docker GitHub license

About the FAForever Website

image

This is the repository for our main website FAForever.com

The Main Focus for what the primary purpose of the website is. The following was voted on at the FAForever Association general meeting as the 2 main purposes of the website.

  1. To Focus on Acquiring and On-boarding of new Player into FAForever (Registration of players, Documentation & Support)
  2. Promote The Community (Clans, Maps, Mods, Tournaments etc.)

Developing the Website / Setting up your local environment

Option #1 - locally install node, yarn etc

Local installation without docker guide

Option #2 - run everything in docker (linux, wsl2, mac)

Local requirements:

  • docker
  • docker compose

The website has dependencies to Hydra, Wordpress and the Java-API. You can run those with the local-stack.

If you got the local-stack up and running, we need to stop the "faf-website" and replace it with a development container.

cd ../faf-stack # replace path if needed
docker compose stop faf-website

Development-Container:

cd ../website # replace path if needed
cp -n .env.faf-stack .env
docker compose build
docker compose run website yarn install
docker compose up

this should start the express-server on http://localhost:8020/.

Other Ways to Contribute

We have a POEditor set up to help in translating the terms in to the native language. you can click that link a support the development by taking the time to work through the terms that get added to the site. Were not limited by how many languages we can support as long as someone wanted to put in the effort in doing the translation support.

As of March 2022 the main 4 Languages that are set up on POEditor are:

  • English
  • Russian
  • French
  • German