Giter Site home page Giter Site logo

microtrivia's Introduction

MicroTrivia

Server run on docker

Strart with docker from make files make run this start a server on port 5000

Copy a local production code make copylocal to make a copy file on AppFiles, use a flag FOLDER to change the destination folder make copylocal FOLDER=other

Manual instalation

Config the backend

Copy all next files in to microserver folder

Microdot

Enter to the microserver folder and run:

python3 app.py
Config Frontend

Create a .env into ui-app folder whit the next content

# ui-app/.env
# change whit your local ip local network or localhost for local only
VITE_SERVER=192.168.1.1:5000

Enter to a ui-app folder and run yarn install to install modules and yarn dev for local or yarn dev --host to expose a local network.

Visit: http://local-ip:5173 or http://localhost:5173

External libraries:

https://github.com/miguelgrinberg/microdot https://github.com/nickovs/slimDNS

References

Audios Files, Questions from 100-Mexicanos-Dijeron MicroDot

microtrivia's People

Contributors

chipocrudos avatar

Stargazers

Francisco Coutiño 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.