Giter Club home page Giter Club logo

cenco's Introduction

Léeme

Una muy simple codificación

Instalación

Requerimos python 3.7 o más y poetry.

Instalación sin tox. Como observación, al ser una prueba las dev dependencies y prod dependencies pueden considerarse una sola.

$ cd cenco
$ python3 -m venv .venv
$ poetry install

con tox

$ cd cenco
$ tox -e venv

Variables de entorno

Se necesitan las variables de entorno PROJECT_MODE y CONNECTION_STRING. Dichas variables pueden ser seteadas manualmente usando por ejemplo export ó escribirlas en un archivo .env de la forma key=value. Para esto último editar el archivo .env.dist en la raiz del proyecto, al agregar los valores de las variables y luego cambiar su nombre a .env. Las variables son PROJECT_MODE=Development y CONNECTION_STRING es la conection string a la db (sqlite:///path_to_db)

Uso

Los problemas de la prueba están en un jupyter notebook contenido en la raíz del proyecto.

$ cd cenco
$ .venv/bin/activate #linux, windows se activa el virtual env usando.venv\Scripts\activate
$ jupyter notebook

cenco's People

Contributors

aboultahri 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.