v1.1/stable - a part of Di - Watch Trailer
Welcome to CodeShine, an integral part of the dynamic Di website! This cutting-edge application, built on the robust Django framework, revolutionizes the way you handle assignments. It offers a wide range of features, ensuring a seamless experience for both students and educators.
Key Features:
- Assignment Submission: Students can effortlessly submit their assignments through the intuitive interface, simplifying the process and saving valuable time.
- Assignment Posting: Educators can easily create and post assignments, providing clear instructions and guidelines to enhance the learning experience.
- Assignment Evaluation: Our powerful evaluation system allows instructors to efficiently assess submitted assignments, providing valuable feedback to students.
- Markdown Chat Support: For every assignment, students and educators can engage in real-time discussions, seeking clarifications and fostering collaboration using the markdown format.
CodeShine is more than just a tool; it's a community-driven project. We embrace the spirit of open-source collaboration, welcoming you to leverage the source code for your convenience and actively contribute to its development. By doing so, you play a pivotal role in shaping the future of this remarkable application.
Join us on this exciting journey as we empower learners and educators alike. Experience the brilliance of CodeShine, where assignments shine brighter than ever before.
All the files created during the creation of the website, for the first time, as a mini-project work, in December 2022, are stored in the drive folder.
- Switch the branch to v1/stable.
- Download the code directly (or through releases - if available).
- Unzip the archive file.
- Now, you need to configure it as instructed below. That's it.
-
Go to the directory, more likely
./diems
where themanage.py
is stored. This file is the starting point for any Django project. -
Make sure the Python and Django is installed and in it's latest version. At the time of the creation of this project we used the following commands:
$ sudo apt install python3 python3-pip $ pip3 install Django==4.1.4
If you are using a Linux distribution other than Debian-based, or Windows or any other operating system, consider referring to the official documentation.
-
If you want to run in production - i.e.
# In ./diems/settings.py DEBUG = False
You need to install the
whitenoise
through the python package manager, as:$ pip3 install whitenoise
Also, at the time of configuration, you need to collect static files, for
whitenoise
to serve them automatically, as:$ python3 manage.py collectstatic
You may need to run it after each change in the code, for the development. Again, If you are using a Linux distribution other than Debian-based, Windows, or any other operating system, consider referring to the official documentation.
-
If you do not want to run in production, go to
./diems/settings.py
and set theDEBUG
value toTrue
.# In ./diems/settings.py DEBUG = True
Now, you don't need to care about
above point 3
. -
It's time to make a database configuration, to do so, run the following commands:
$ python3 manage.py makemigrations home departments accounts codeshine
and to apply settings,
$ python3 manage.py migrate
-
Before starting the server, we need to create a superuser, an admin for the website, as:
$ python3 manage.py createsuperuser
Follow the instructions as instructed and you have done configuring it.
-
Make sure you have completed
step 02
successfully. -
To run the server, you must be in the directory where the
manage.py
existed. Then run the following command:$ python3 manage.py runserver
That's it, the server is now running. If there is a problem while running, double-check the previous steps, you can even try to find the solution online.
-
If you want to terminate the server, press
CTRL
+C
simultaneously.