Giter Site home page Giter Site logo

adekemi02 / netblog Goto Github PK

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

This is a blog app created with python flask

Python 98.86% C 0.67% Mako 0.09% Batchfile 0.01% Assembly 0.01% C++ 0.02% JavaScript 0.05% CSS 0.04% PowerShell 0.11% HTML 0.15% Dockerfile 0.01%

netblog's Introduction

NetBlog

This is a space for curious learners and writers. You get to read articles from other writers and write your own articles on the go. You don't have to register or login to read articles but you have to register and login to write and post an article.

This project was built by Barakat Adisa.

Built with

Flask Python

CSS3 Bootstrap

SQLite

Goals

Creating this blog, I was able to learn:

  • How to use python for backend development

  • User authentication

  • User authorization

  • Debugging

  • Googling

  • Database Management

  • Bootstrap

  • Documentation

Usage

To get a local copy up and running follow the following steps:

Prerequisite

You need to have installed python 3 in your local system. You can get it here

Installation

  1. Clone this repo
git clone https://github.com/Adekemi02/NetBlog.git
  1. Activate the virtual environment
windows: source blog_app/Scripts/activate
macOS: source blog_app/bin/activate
linux: source blog_app/bin/activate
  1. Install project dependencies
pip install -r requirements.txt
  1. Install flask
pip install flask
  1. Run the app in your terminal
python run.py
  1. Copy the link generated in your terminal on the browser.

  2. To run the application using the Dockerfile or you can pull from the docker repo

    a. You can choose to build a container using the Dockerfile using this command

    
    docker build Dockerfile -t netblog
    
    

    then run this command to start the container

    
    docker run -p 5000:5000 netblog
    
    

    b. To pull the app from docker's repo, run this command

    
    docker pull achebeh/netblog
    
    

    then run this command to start the container

    
    docker run -p 5000:5000 achebeh/netblog_app
    
    

Contact

Twitter - @adisa_adekhemie

Mail - [email protected]

Project Link: https://github.com/Adekemi02/NetBlog

Acknowledgements

netblog's People

Contributors

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