Giter Site home page Giter Site logo

julianesp / ejercicioseleccion Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 49.12 MB

Prueba para aprobar práctica

License: MIT License

Python 98.05% Mako 0.03% C 0.95% C++ 0.65% Batchfile 0.01% Assembly 0.01% Cython 0.19% Meson 0.01% Fortran 0.05% Forth 0.01% Smarty 0.02% PowerShell 0.04% HTML 0.01%

ejercicioseleccion's Introduction

Requerimientos

1. Backend

1.1 Entorno virtual

1. Ingresar a la carpeta back
cd back
2. Crear entorno virtual
virtualenv venv --python=python310
3. Activar entorno virtual
source venv/Scripts/activate
4. Instalar librerias
pip install -r requirements.txt
5. Desactivar entorno virtual
deactivate

1.2 Configurar base de datos

1. Crear migración
alembic revision --autogenerate -m "Initial migration"
2. Ejecutar migraciones
alembic upgrade head
3. Crear base de datos
python create_db.py

1.3 Iniciar servidor

uvicorn main:app --reload

1.4 Conectarse a la base de datos mediante un gestor

  1. Seleccionar SQLite
  2. Path: back\test.db

1.5 Plus

1. Generar archivos requirements.txt
pip freeze > requirements.txt

ejercicioseleccion's People

Contributors

julianesp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.