AulaEstudio-Team / AE-Games

Plataforma de minijuegos creada por los alumnos del Ciclo Superior de Desarrollo de Aplicaciones Web.
4 stars 1 forks source link

AE-Games

Plataforma de minijuegos creada por los alumnos del Ciclo Superior de Desarrollo de Aplicaciones Web.

Installation

Crate virtual enviroment

python3.exe -m venv .venv

Activate the virtual enviroment

.venv/Scripts/activate

If this command returns an error make the requirements installation with:

.venv/Scripts/python.exe -m pip install -r requirements.txt

Otherwise use the package manager pip to install all the required libraries.

pip install -r requirements.txt

Usage

First migrate the imported django applications.

python src/manage.py migrate

Load the static files in the STATIC_ROOT folder.

python src/manage.py collectstatic

Then create a superuser.

python src/manage.py createsuperuser

Lastly launch the server with:

python src/manage.py runserver #8000 as the default port (any other port will work fine)

The admin view will be available at: localhost:8000/admin/

Remember that this execution is for local testing. For dev you must edit the settings.py, use a web interface and a webserver to retrieve the files. Learn more about Django deploy here