Useful website to manage student application form at the begining of the 2nd year at Ecole des Ponts ParisTech
/!\ As CAS authentication is not possible on localhost, you could have some troubles when launching the website for the first time. (Multiple re-renders, browser lags...). To avoid that, make sure to follow carefully step 5 and 6.
To install and run this project for a development environment, follow these steps:
-
Clone the repository:
git clone https://github.com/adcrry/my2a
-
Setup environment variables (edit .env file if needed)
cp .env-example .env
-
Build images
docker compose build
-
Run
docker compose up
-
Create an admin account to access the website without CAS.
docker exec -it my2a-back-1 python manage.py createsuperuser
Be careful: the container name 'my2a-back-1' can be different. If it doesn't work, see 'docker ps' and get the proper container name.
-
Open your web browser and visit
http://localhost/admin/
(the last / is very important !!!!! Do not forget it !!) to login with previous credentials. -
Visit
http://localhost/
.
-
Clone the repository:
git clone https://github.com/adcrry/my2a
-
Setup environment variables (edit .env file if needed)
cp .env-example .env
-
Build images
docker compose build
-
Run
docker compose up
-
Populate the database with courses, departments, parcours etc.
-
Do not forget to setup a reverse proxy that redirect my2a.enpc.org to the my2a's proxy.