Skip to content

Latest commit

 

History

History
114 lines (79 loc) · 2.88 KB

CONTRIBUTING.md

File metadata and controls

114 lines (79 loc) · 2.88 KB

Built with ❤︎ by maintainers

Contributing

First off, thanks for your interest in Turnly and for wanting to contribute!

System Requirements

You need the following installed in your system:

Development

Clone the repository on your server

Clone these resources to your previously configured server with the basic requirements.

git clone git@github.com:turnly/turnly.git

Install local dependencies

pnpm install

Environment Variables

Environment variables will allow you to customize Turnly's configurations. You must change the environment variables before running Turnly using the Docker Compose.

# Go to the directory where you cloned the resources.
cd /path/to/turnly/

# Now copy the `.env.example` file and set the variables appropriately.
cp .env.example .env

Get the services up and running

After successfully setting your environment variables, you can get the Turnly using the following command:

yarn start

Stop running containers

You can stop and remove containers created for Turnly services using the stop command. The only things removed are containers for Turnly services.

yarn stop

Linting

yarn lint

Conventions (Required)

We highly recommend you review the conventions docs.

Software Architecture

The Turnly are built using multiple architectural concepts, we highly recommend you review the architecture docs.

high-level-architecture

Testing

Each application has its own set of tests, and they generally follow the same rules of writing and structure. All the tests are executed on our CI and a PR could only be merged once the tests pass.

Most tests will benefit from using this template as a starting point:

describe('<scope name> > <task title>', async () => {
  test('should <put a detailed description of what it should do here>', () => {
    // test go here
  })

  // additional tests if needed
})