Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.31 KB

File metadata and controls

37 lines (31 loc) · 1.31 KB

Random Peace

made-with-javascript made-with-p5js Website shields.io

Random Peace is a homage to Charles Csuri 1967 “Random War”. As opposing to its reference the main theme in Random Peace is as its name states a random representation of a peaceful war between two (or several) sides.

Access the project

Instrucciones

Para alojar la web en local

Desde la carpeta base o desde src:

python -m http.server

O en caso de que utilizamos python3

python3 -m http.server

Para alojar la REST API

Dentro de la carpeta /server/ ejecutamos los siguientes comandos:

python -m venv serverEnv
.\serverEnv\Scripts\activate
pip install -r .\serverEnv\requirements.txt

Opcionalmente y si el instalador lo sugiere:

python.exe -m pip install --upgrade pip

Finalmente, para poner en marcha la REST API ejecutamos el siguiente comando sin salir de la carpeta:

uvicorn main:app --reload