Rev0kz / flask-couchbase-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask-Couchbase-DiaryApp

This project shows how to build a flask-based application with a Couchbase as the backend server.

Getting Started

Clone this repo in a virtualised environment. You can use the following commands to create virtualised environment

pip install virtualenv

mkidr directory_name

virtualenv projectname

git clone https://github.com/Rev0kz/flask-couchbase-demo.git

Install the following packages to run the app locally

pip install -r requirements.txt

python app.py

How to Pull a Couchbase Server Image from DockerHub

You need to login before you can access images DockerHub

docker pull couchbase/server

How to Run a New Container for the Couchbase Server Image

docker run -d --name db -p 8091-8094:8091-8094 -p 11210:11210 couchbase

About


Languages

Language:Python 100.0%