GithubHelp home page GithubHelp logo

hieu-le296 / flask-blog Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 6.13 MB

Flask Blog - Live Demo:

Home Page: https://techtalks-blog.herokuapp.com/

License: MIT License

Python 11.17% Mako 0.16% CSS 74.91% JavaScript 0.54% HTML 13.21%
flask flask-application web-application python3 python html5 css mvc docker-compose dockerfile docker-container docker

flask-blog's Introduction

TechTalks Blog

This blog is the CIS 245 Project at University of the Fraser Valley.

Live Server

https://techtalks-blog.herokuapp.com/

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Whenever running this project on the different system, please delete the previous virtual environment (venv) and create the new one.

Prerequisites

What things you need to install the software and how to install them

Python 3.6 and later
Linux OS such as CentOS, Ubuntu, Linux Mint
Visual Studio Code (optional for editor)

Installing

In terminal, create python3 virtual environment

$ python3 -m venv venv

And activate virtual environment

$ source venv/bin/activate

Once the virtual environment is activated, install all the modules and dependencies for this project

(venv) $ pip install -r requirments.txt

Running the tests

There is no need to run database migration again. In order to run this program: Export this app and make sure you are in the socialblog directory:

(venv) $ cd socialblog/
(venv) /socialblog $ export FLASK_APP=app.py

then type

(venv) /socialblog $ flask run

Deployment

The Website can be deployed in Docker container for production. In order to run the container, please type

$ sudo docker-compose up

Built With

Planned Technology

  • Flask
  • Flask WTForm
  • Flask Login
  • FLASK SQLAlchemy
  • PILLOW - for uploading picture
  • Flask Upload
  • Flask Mail - for sending email
  • FLASK Dance (Google Authentication)
  • Stripe - for payment
  • Database: SQLlite
  • Boostrap Temeplate

Versioning

  • Version 1.0

Authors

  • Hieu Le

Donation Test

In order to test the donation, please use the testing visa card

Admin Page

In order to see the admin page, please login with this account:

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments and References

Inspired by:

flask-blog's People

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.