Public release

Correct conftest connection string. Updated readme to reflect preference for postgres backend
master
androiddrew 7 years ago
parent ae5d7acabe
commit 8a542d1fc6

@ -1,12 +1,12 @@
# cookiecutter-apistar # 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 ## Usage
```python ```python
$ pip install cookiecutter $ 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 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 ## Changelog
### 0.1.0 (12/08/2017)
- Public release
- Corrected Test database connection string in conftest
### 0.0.1 (11/07/2017) ### 0.0.1 (11/07/2017)
- Initial release - Initial release

@ -9,7 +9,7 @@ from {{cookiecutter.project_slug}}.app import commands, routes, components
settings = { settings = {
'DATABASE': { 'DATABASE': {
#'URL': 'postgresql://apistar:local@localhost/{{cookiecutter.project_slug}}', #'URL': 'postgresql://@localhost/test_{{cookiecutter.project_name}}',
'URL': 'sqlite:///', 'URL': 'sqlite:///',
'METADATA': Base.metadata 'METADATA': Base.metadata
}, },

Loading…
Cancel
Save