Skip to content

HackerSchool/Arquimedia

Repository files navigation

Arquimedia

image Our goal for this project is to help high school students prepare for national exams done by all students to enter college and finish high school. As our first goal we would like to have available a preparation for the Mathematics A and as we progress create more questions for other subjects.

Docker Setup

For development, run:

docker-compose build
docker-compose up

For production, run:

docker-compose -f docker-compose.yml -f docker-compose.prod.yml build
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up

Manual Setup

Setup Backend

Install PostgreSQL and pgAdmin (Database GUI).

  1. Open pgAdmin
  2. Click on server and create a new database
  3. Copy the .env.example file and complete it with your secrets:
  4. Start by creating a local environment in backend: python3 -m venv env
  5. You then activate the environment: env\scripts\activate
  6. And install all the required modules: pip install -r requirements.txt

Setup Frontend

  1. Run npm i.

Run

  1. In backend run py manage.py runserver.

  2. In frontend run npm start.