Skip to content

d-r-e/rncp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNCP Planner for 42 School

alt text

## How to build

### Development

  1. Edit flask/.env
  2. Replace the redirect url in the environment.ts
  3. Execute:
docker compose run angular npm install
docker compose up -d

### Production

  1. Edit flask/.env
  2. Exec:
docker compose run angular sh -c "rm -rf node_modules && npm install && ng build"
  1. Uncomment the prod server on nginx.conf 2.1 Set SSL certificates
  2. Replace redirect url in the environment.ts
  3. Exec:
docker compose up -d nginx flask