Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

GuillaumeOj/P13-WOD-Board

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mergify Status CI CD Coverage Status Code style: black CodeFactor

Presentation

This application is for the project 13 from OpenClassrooms' Python course.

The application is alive here => http://projet-13.ojardias.io

The roadmap of this project is available here: Notion

Requirements

For running this application you will need:

Setup PostgreSQL with those parameters:

  • User: your choice
  • Password: your choice too
  • Databases:
    • wod_board_test (used for tests)
    • wod_board_dev (used for running the application)

Env

Create a .env file in /backend based on /backend/env-example.

NOTE: Don't forget to replace user and password in DATABASE_URL

Run

Start the backend application:

cd /backend
tox -e seed  # Populate the databe with user accounts and basic items
tox -e start # Run the backend application

Then visit:

Start the frontend:

cd /frontend
yarn install # Only the first time
yarn start

Then visit:

Tests

In /backend type:

tox -e py39 [-- {optional-args}] # For python tests
tox -e pep8                      # For pep8