Skip to content

dubirajara/django_my_ideas_wall

Repository files navigation

Share Ideas - My Ideas Wall.

Web app developed using Django.

Demo: https://shareideas.herokuapp.com

Updates Coverage Status Python 3

How Dev? Running locally(virtualenv):

  • Clone the repository:
git clone https://github.com/dubirajara/django_my_ideas_wall.git myideasapp && cd myideasapp
  • Create and activate virtualenv with Python 3.6+:
virtualenv .venv
source .venv/bin/activate 
  • Install the dependencies:
pip install -r requirements-dev.txt
  • Set up your local configuration file .env:
python contrib/config_env.py
  • Run the migrations and run tests:
python manage.py migrate
python manage.py test

Using Docker to development:

Django + Postgresql + Gunicorn + Nginx

  • Clone the repository:
git clone https://github.com/dubirajara/django_my_ideas_wall.git myideasapp && cd myideasapp
  • Set up your Postgresql configuration file:

Before run the docker container, you must uncomment the line 15 "DATABASE_URL=" in file contrib/secret_gen.py
And if you want config it , change the data to your database config, and too in file contrib/docker-entrypoint-initdb.d/init_db.sh

  • Build and start services:
docker-compose up -d --build

You can access it at: localhost:8000