Skip to content

logan-git-art/docker-notejam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

docker-notejam


Notejam: Django


Notejam application implemented using Django <https://www.djangoproject.com/>_ framework.

Django version: 1.6.5

Installation and launching


Clone

Clone the repo:

.. code-block:: bash

$ git clone git@github.com:komarserjio/notejam.git YOUR_PROJECT_DIR/

Install

Use virtualenv <http://www.virtualenv.org>_ or virtualenvwrapper <http://virtualenvwrapper.readthedocs.org/>_ for environment management <http://docs.python-guide.org/en/latest/dev/virtualenvs/>_.

Install dependencies:

.. code-block:: bash

$ cd YOUR_PROJECT_DIR/django/
$ pip install -r requirements.txt

Create Dockerfile.app:

.. code-block:: bash

$ docker build -t img_name -f Dockerfile.app

Create Dockerfile.db:

.. code-block:: bash

$ docker build -t img_name -f Dockerfile.db

Changes in the setting.py file in the notejam folder, provide all the details regarding the database you are using.

Create docker-compose.yaml file:

  Put all the dependencies of Dockerfile.app and Dockerfile.db and compose them up

.. code-block:: bash

$ docker compose up       

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published