项目作者: dubirajara

项目描述 :
My Ideas Wall web app Django:
高级语言: Python
项目地址: git://github.com/dubirajara/django_my_ideas_wall.git
创建时间: 2016-12-24T10:27:00Z
项目社区:https://github.com/dubirajara/django_my_ideas_wall

开源协议:GNU Affero General Public License v3.0

下载


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

#

Using Docker to development:

Django + Postgresql + Gunicorn + Nginx

  • Clone the repository:
  1. 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:
  1. docker-compose up -d --build

You can access it at: localhost:8000