Coder Social home page Coder Social logo

bernando32 / task-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yezz123-archive/task-boilerplate

0.0 0.0 0.0 6 KB

Flask Boilerplate set up and configured to work with a database and nginx :rocket:

License: MIT License

Dockerfile 6.48% Shell 4.32% Python 89.20%

task-boilerplate's Introduction

TASK

Task-Boilerplate ๐Ÿš€

  • This is a Flask application that is set up and configured to work with a database and nginx. Write a docker-compose.yaml that will bring all these services up and allow the app to run on port 80.

  • The server side of the task management system was developed using SQLAlchemy & Flask For Creating and configuring a deployable boilerplate.

Setting up Nginx

  • Remove the default configuration from sites-enabled using $ rm /etc/nginx/sites-enabled/default.
  • Edit /etc/nginx/sites-available/Task using your preferred text editor and add the following to the file:

*Note: Make sure to replace YOUR_FULLY_QUALIFIED_DOMAIN_NAME with your FQDN.

events {}
http {
    server {
        listen 80;
        location / {
            proxy_pass http://app:5000;
        }
    }
}
  • Enable the Nginx config using $ ln -s /etc/nginx/sites-available/task-boilerplate /etc/nginx/sites-enabled/task-boilerplate.
  • Restart Nginx using $ systemctl restart nginx.

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.