Skip to content

devilica/race

Repository files navigation

Race Results

Short description or introduction to the project.

Installation

Follow these steps to install and set up the project locally on your machine.

Prerequisites

  • PHP (version 8.1.17)
  • Composer (version 2.3.7)
  • Database (e.g., MySQL, PostgreSQL)

Clone the Repository

  1. Open your terminal or command prompt.
  2. Navigate to the directory where you want to install the project.
  3. Run the following command to clone the repository:
git clone https://github.com/devilica/race.git

Install Dependencies

  1. Navigate to the project directory:
cd repository
  1. Run the following command to install project dependencies using Composer:
composer install

Configure the Environment

  1. Copy the .env file to create a local environment file:
cp .env .env.local
  1. Open the .env.local file and update the configuration parameters according to your local environment (e.g., database credentials).

Generate Encryption Keys

  1. Run the following command to generate the encryption keys required for security:
php bin/console secrets:generate-keys

Set Up the Database

  1. Create the database.
  2. Update the database connection details in the .env.local and .env file.
  3. Run the following commands to set up the database and run any pending migrations:
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate

Start the Development Server

  1. Run the following command to start the Symfony development server:
symfony serve

Access the project in your browser by visiting the provided URL (usually http://localhost:8000).

There is csv file RaceResults.csv that you can import as an example.

About

Rase Results

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages