-
Notifications
You must be signed in to change notification settings - Fork 0
Running
On this page, the steps for running the application correctly are reported.
Make sure you have installed all the required dependencies following the Installation Guide.
Once the front end is set up, you can run the development server using the following commands:
cd <PATH_TO_TEACHME>/ui # change directory to the front-end one
npm run dev
You can now open http://localhost:3000/ with your browser to see the result.
To run the backend application use the following commands in a new terminal window:
NOTE: if you created a python virtual environment for installing the dependencies, remember to activate it before running the commands!
cd <PATH_TO_TEACHME>/backend # change directory to the back-end one
python3 main.py
If you installed the project using Docker/docker-compose, you can run both the frontend and backend with a single command:
cd <PATH_TO_TEACHME>
docker-compose up
If you want to shutdown the container, use:
docker-compose down
Now you can visit the application at localhost:3000.