Menu
«

New Project Setup

Git

If you're copying an existing application, use GitHub's "Use this template" feature. Read more here.

Create a repository on our organization on GitHub using the naming rules below.

In the GitHub project's settings, uncheck the features "Wikis", "Issues" and "Projects". In branches settings, make sure your permanent branches are protected (usually only master) and make sure the base branch is master.

The Protect matching branches settings should be:

Repository naming conventions

The name should reflect the identification of the system or site with preferably a single word and it must be kebab-cased.

Domain naming conventions

We preferably don't use www as a subdomain.

For staging/qa environments, use the environment as the prefix. This way the environment is always first no matter if it's a TLD or not.

Server

This only applies if you're creating a new server, some sites can be placed on an existing server.

1. Create a new server at Glesys:

Make sure the hostname is easily identifiable (system, service, purpose, env etc), eg:

Only prod

Only dev & prod

Web & db separated with dev & prod

2. Create the server in forge

2.5 (Optionally) Setup Envoyer

3. Configure the server (date, php/nginx conf etc)

Setup email sending service

Setup Bug tracker (Sentry)

For all new projects, we use Flareapp.

Each environment should have its own project in Flareapp. This way we can separate errors between environments.

Continuous Integration (CI)

Set up checks for code quality and style compliance using the Continuous Integration (CI) guide.