GithubHelp home page GithubHelp logo

test-django-app-exe's Introduction

Portable Django APP

Why not use web interface to generate desktop app, this small project shows how to build a desktop app with Django and UI of any browser.

On the backend use Django for manage the core of the app and render templates localy and send the UI to the browser and all is posible to build one .exe file to group all files and make one file app based on desktop app.

Its simple, the app.py raise the server of the Django framework and on the terminal display the local IP:PORT to connect with the browser and interact with the local app.

For build the .exe file use pyinstaller with this command:

pyinstaller -y -F --add-data "<PATH_TO_FOLDER>/test-django-app-exe/core";"core/" --add-data "<PATH_TO_FOLDER>/test-django-app-exe/venv";"venv/"  "<PATH_TO_FOLDER>/test-django-app-exe/app.py"

Is necesary include core Django project and virtual environment for correct operation of the app. feel free to report issues!

To share the app need copy the app.exe and db folder to another location an you are ready to share with anyone you want.

If you want test the app, have an exe app to test and play with then, when you reload the index web add a random string to the database to check the app.

test-django-app-exe's People

Contributors

enrialonso avatar

Watchers

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