Course + Assist, get it?
This project is intended for university students all around the world.
The main features that this project supplies are:
Important: You will need python 3.7+
to run this project.
Pycharm
, you can do it like that). python
you use the virtual environment's pythonPycharm
that will happen by default in the integrated terminal, otherwise you will need to
use the source command).make install
(if you dont have make
installed, just run the commands under install
inside the Makefile
).To build the docker image inside the project root directory:
docker build -t coursist:latest .
To run the server locally on port 8000
:
docker run -it -p 8000:8000 coursist:latest 0.0.0.0:8000
Login as usual to: http://localhost:8000/
First, you need to run the local server:
python manage.py runserver
(If you use Pycharm
it should detect this is a Django project,
so you will be able to run the server without a terminal command).If everything went well, the server is now running on your local machine.
You can use the site as a regular user (Facebook and Google login won't work).
The installation process also created an admin user: its user name is admin
and the password is 123456
.
Open http://localhost:8000/admin and log in with your admin user.
Now you can see and control the entire database and the system's models.
The server allows to run these custom commands:
python manage.py dev_init
: Initiates the database with dummy data for development purposes.python manage.py fetch_courses
: Retrieves courses data from HUJI servers.python manage.py help fetch_courses
to learn about the limit
and fetch_existing
arguments.master
(or develop
) branch
from the upstream repository, and only then create your branch.python manage.py test
to test that everything still works,
and use make black
to achieve well-formatted code.develop
branch. This project is part of the Open Source Workshop (67118) course team project.