d-r-e / rncp

RNCP Title interactive planner website for 42 students
https://rncp.hacku.org
44 stars 6 forks source link
42 42born2code rncp

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"
  3. Uncomment the prod server on nginx.conf 2.1 Set SSL certificates

  4. Replace redirect url in the environment.ts

  5. Exec:

    docker compose up -d nginx flask