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.
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
To get a local copy up and running follow the following steps:
You need to have installed python 3 in your local system. You can get it here
- Clone this repo
git clone https://github.com/Adekemi02/NetBlog.git
- Activate the virtual environment
windows: source blog_app/Scripts/activate
macOS: source blog_app/bin/activate
linux: source blog_app/bin/activate
- Install project dependencies
pip install -r requirements.txt
- Install flask
pip install flask
- Run the app in your terminal
python run.py
-
Copy the link generated in your terminal on the browser.
-
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
Twitter - @adisa_adekhemie
Mail - [email protected]
Project Link: https://github.com/Adekemi02/NetBlog