Skip to content

enligencelab/enligencelab-backend

Repository files navigation

Enligence Laboratory Website Backend

Critical Warning:
This guide is only for development environment. If you want to deploy this application into production, please turn off the debug mode and set your own secret key in enligencelab_backend/settings.py. Find more at Django Documentation.

Introduction

This Django application is used as the backend of the Enligence Laboratory Official Website, also used as the administration system of the laboratory.

Installation

First, you need to install Python 3.8 or higher, and then install the dependencies.

pip install -r requirements.txt

Secondly, you need to get into the project directory and run the following commands to initialize the database.

python manage.py makemigrations
python manage.py migrate

Finally, you can run the development server. The default port is 8000.

python manage.py runserver

Usage

Use the following command to create a superuser account.

python manage.py createsuperuser

After the all those steps, you can finally visit the administration website at http://localhost:8000/admin.

About

This is the backend for Enligence Lab Website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published