You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.2 KiB
Markdown

6 years ago
# cookiecutter-molten
A Molten template for [cookiecutter](https://github.com/audreyr/cookiecutter) with a preference for a postgres backend
## Usage
```
$ pip install cookiecutter
$ cookiecutter https://github.com/androiddrew/cookiecutter-molten
```
You will be asked for some basic information regarding your project (name, project name, etc.). This info will be used in your new project
#### Create a virtual environment
6 years ago
```
$ cd <app_dir>
$ python -m venv env
$ source env/bin/activate
$ pip install -r dev_requirements.txt
$ pip-sync dev_requirements.txt requirements.txt
```
#### Run tests
```
$ pytest -v
```
#### Using the management script
In a similar style to Django this cookiecutter provides a `manage.py` module to assist you in your development. This script is simply assembled using the [click](https://github.com/pallets/click) library.
Excuting the script with no parameters will print a list of available operations.
```
$ python manage.py
```
If you have installed the dev dependencies you will have access to the werkzueg dev server. Do not use this server in production.
6 years ago
```
$ python manage.py runserver
```
## License
MIT Licensed.
## Changelog
### 0.1.0 (12/09/2018)
- Initial release