Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Operation Search
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
adam.fisher1
Operation Search
Commits
02bb925a
Commit
02bb925a
authored
Jan 19, 2025
by
adam.fisher1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
d503acf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
0 deletions
+50
-0
README.md
README.md
+50
-0
No files found.
README.md
View file @
02bb925a
...
@@ -18,6 +18,56 @@ python manage.py runserver
...
@@ -18,6 +18,56 @@ python manage.py runserver
Access the server at
*http://localhost:8000/.*
Access the server at
*http://localhost:8000/.*
**How to use the virtual environment**
1.
in this part you will need to create the environment:
python -m venve env/
2.
in a git bash terminal, start up the virtual environment:
source env/script/activate
3.
install requirements and start up the server:
pip install -r requirements.txt
python manage runserver
**Setting up Django**
1.
to initialise the Database and update it, run:
python manage.py migrate
2.
to make new migrations and update the database, run:
python manage.py makemigrations
<app-name>
**Accessing the admin panel**
if you want to access the admin panel, you need a super user account:
python manage.py createsuperuser
*after all this you must navigate to localhost:8000/admin/ and log in with the account you just created.*
**Running the tests**
python manage.py test
Prerequisites
Prerequisites
Ensure you have the following software installed:
Ensure you have the following software installed:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment