To start this project, you must have the python environment activated and configured.
If you haven't installed Python yet, please download it from this link: https://www.python.org/downloads/
Once python installation and configuration are complete, follow these instructions:
-
Creation of virtual environments is done by executing the command venv:
-
python3 -m venv /path/to/new/virtual/environment
-
Then after you have created the environment navigate to the root to execute this command:
-
cd path/YDT_Website
to go to the root -
Then
source bin/activate
to activate the environment; once finished you will see
(environment name) $
- Next step navigate to the root of the project, in this frame
(environment name) $ cd /YDT_Website
-
Once done, type the following command to install the prerequisites:
-
pip install -r > requirements.txt
-
requirements.txt
is located in the root of the project
- Type
python manage.py collectstatic
orpython manage.py makemigrations
depending upon your setup - Then type
python manage.py runserver
to launch the project. - The address will be generated in the terminal like:
http://127.0.0.1:8000/
- Github docs list - received
- README.md - received
- Installation instructions - in process
- Virtual Machine venv setup - received
- Requirements or Setup - in process
- To add page do this - in process
- To edit document do this three types - in process
- To setup database do this - in process
- Graphic fancy options 1, 2, 3 - in process