Giter Club home page Giter Club logo

flask-simple-form's Introduction

flask-simple-form

This is a simple flask register-form application designed to run in multiple ways

Notes

  • This app use MongoDB as database supported by Flask-MongoAlchemy extension => So you have to install MongoDB database to run this locally

  • uses Flask-SocketIO along with Ajax for real time update

  • you will get an email if you have registered

Overview

index registered email

Running this app

This app is designed to run in different ways:

  1. As a standalone app running on your machine

1. As a standalone app

  1. install python
  2. git clone the project then cd into the directory
  3. run virtualenv -p /usr/bin/python3 venvor python -m venv venv to create a virtual environment
  4. activate it using source venv/bin/activate
  5. pip install -r requirements/prod_local.txt to install the app libaries and it dependencies
  6. install MongoDB database sudo apt-get install mongodb
  7. check your database is installed and print its version using mongo --version

running the app

  • After installing, you need to set your application environment variable by running export FLASK_APP=app.py
  • run export MAIL_PASSWORD=<your-email-password> to set your email password environment variable
  • run the server using the script file run.sh by typing ./run
  • Access the running app in a browser at the URL written to the console (most likely http://0.0.0.0:5000)

flask-simple-form's People

Contributors

ahmnouira avatar

Stargazers

 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.