From 8a542d1fc6327c4980cd0540a06ebd870b87c8a0 Mon Sep 17 00:00:00 2001 From: androiddrew Date: Fri, 8 Dec 2017 14:31:56 -0500 Subject: [PATCH] Public release Correct conftest connection string. Updated readme to reflect preference for postgres backend --- README.md | 8 ++++++-- {{cookiecutter.project_slug}}/tests/conftest.py | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 52d3168..0163af5 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # cookiecutter-apistar -An API Star template for [cookiecutter](https://github.com/audreyr/cookiecutter) +An API Star template for [cookiecutter](https://github.com/audreyr/cookiecutter) with a preference for a postgres backend ## Usage ```python $ pip install cookiecutter -$ cookiecutter https://git.androiddrew.com/androiddrew/cookiecutter-apistar.git +$ cookiecutter https://github.com/androiddrew/cookiecutter-apistar ``` You will be asked for some basic information regarding your project (name, project name, etc.). This info will be used in your new project @@ -37,5 +37,9 @@ MIT Licensed. ## Changelog +### 0.1.0 (12/08/2017) +- Public release +- Corrected Test database connection string in conftest + ### 0.0.1 (11/07/2017) - Initial release \ No newline at end of file diff --git a/{{cookiecutter.project_slug}}/tests/conftest.py b/{{cookiecutter.project_slug}}/tests/conftest.py index 46d9d47..15361cb 100644 --- a/{{cookiecutter.project_slug}}/tests/conftest.py +++ b/{{cookiecutter.project_slug}}/tests/conftest.py @@ -9,7 +9,7 @@ from {{cookiecutter.project_slug}}.app import commands, routes, components settings = { 'DATABASE': { - #'URL': 'postgresql://apistar:local@localhost/{{cookiecutter.project_slug}}', + #'URL': 'postgresql://@localhost/test_{{cookiecutter.project_name}}', 'URL': 'sqlite:///', 'METADATA': Base.metadata },