Questions tagged [cookiecutter]

A command-line utility that creates projects from cookiecutters (project templates), e.g. creating a Python package project from a Python package project template.

A command-line utility that creates projects from cookiecutters (project templates), e.g. creating a Python package project from a Python package project template.

enter image description here

Project home.

132 questions
0
votes
1 answer

Data Science Cookie Cutter: How to keep multiple versions of raw files

Using the data science cookiecutter, how is it possible to keep multiple versions of raw files? More precisely, if I have two files data/raw/scrape_2017_06.json data/raw/scrape_2017_04.json How can I assure that make always uses the newest version?
David
  • 1,238
  • 2
  • 13
  • 20
0
votes
0 answers

Powerpoint in cookiecutter package

Is it possible to use the cookiecutter variables i.e. {{ cookiecutter.repo_name }} inside of a powerpoint document? Cookie Cutter does not seem to be picking up my variables inside of text boxes it will change the title of the powerpoint, but the…
Waylon Walker
  • 543
  • 3
  • 10
0
votes
1 answer

Detailed documentation of pydanny's cookiecutter?

I tried using it but instead of kick-starting me it only caused a lot of confusions. Is there a book or article somewhere that explains what every single file that cookiecutter generates does? I mean there's a documentation but it does not really…
anlogg
  • 1,050
  • 1
  • 15
  • 36
0
votes
1 answer

cookiecutter-flask route 404 for new module

I started a new cookiecutter-flask app today (v. 0.10.1). I'm having a problem getting it to recognize that a route has a template defined. Here is the views.py for the module. # -*- coding: utf-8 -*- """Spreadsheet views.""" from flask import…
Alison S
  • 1,759
  • 1
  • 14
  • 28
0
votes
1 answer

Basic cookiecutter-flask implementation

So I have got my app up and running. However it still runs off the cmd console at the moment. Next steps is for me to build a simple web app interface. After much research, rather than to setup an entire flask site from scratch. I decided to use…
BernardL
  • 5,162
  • 7
  • 28
  • 47
0
votes
1 answer

How can I fix my Wagtail URL namespace and explorer when adding wagtail to a current project?

My issue is my URL is coming up mysite.com/test-news-1/ instead of mysite.com/news/test-news-1/ I've started a new project using cookiecutter-django. I then wanted to add wagtail cms to the project and followed the docs to do so. I get the wagtail…
Brian Head
  • 293
  • 4
  • 16
0
votes
1 answer

Bad request 400 when debug = False

I have a problem with a "Bad Request 400" (the production server) when I have set debug = false. I use cookiecutter and Django 1.8. I set ALLOWED_HOSTS = ['*'] - without any result. In the logs I have a message: Invalid HTTP_HOST header:…
mark
  • 653
  • 1
  • 10
  • 23
-1
votes
1 answer

Cookiecutter Django fails Github Actions on Run pre-commit

***EDIT Issue resolved. Several things needed to be done to setup pre-commit in my environment prior to commit/push. 'git init' 'pre-commit install' open new terminal, activate venv 'pre-commit run —all-files' Hope this helps someone in the…
-1
votes
1 answer

What's the best solution to replicate terraform repositories' structure?

I'm looking for a solution to replicate my terraform repositories structure that is always identical config (dev/stg/prod - backend.tf + input.tfvars) tests/ main.tf / variables.tf / outputs.tf Jenkinsfile / version / CHANGELOG / README /…
Alex
  • 389
  • 4
  • 21
-1
votes
4 answers

cookiecutter data science templet

I installed cookiecutter using `conda install cookiecutter` but when I try to import the repo from git hub using `cookiecutter https://github.com/drivendata/cookiecutter-data-science` I got the following error message: { Traceback (most recent…
Aptha Gowda
  • 968
  • 2
  • 10
  • 20
-2
votes
1 answer

Django cookiecutter Project code won't run

I'm currently working on a django project built with django cookiecutter. I'm running both redis server and the redis client but anytime I run the django server it keeps giving the below error raise…
-2
votes
2 answers

Google code jam: Cookie cutter

Is there a closed form solution for the cookie cutter problem? For reference this is the: google page *Updated to include problem statement Problem In this problem, you start with 0 cookies. You gain cookies at a rate of 2 cookies per second, by…
GeneralBecos
  • 2,476
  • 2
  • 22
  • 32
1 2 3
8
9