cookiecutter-django-vue

授权协议 BSD-3-Clause License
开发语言 JavaScript
所属分类 Web应用开发、 常用JavaScript包
软件类型 开源软件
地区 不详
投 递 者 王鹏飞
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Cookiecutter Django-Vue

Powered by Cookiecutter,inspired by Cookiecutter Django.

Features

Optional Integrations

These features can be enabled during initial project setup.

Usage

First, get cookiecutter:

$ pip install cookiecutter

Now run it against this repo:

$ cookiecutter gh:vchaptsev/cookiecutter-django-vue

You'll be prompted for some values. Provide them, then a projectwill be created for you.

Answer the prompts with your own desired options. For example:

======================== INFO ======================= [ ]:
project_name [Project Name]: Website
project_slug [website]: website
description [Short description]: My awesome website
author [Your Name]: Your Name
email [<admin@website.com>]: <admin@website.com>
====================== GENERAL ====================== [ ]:
Select api:
1 - REST
2 - GraphQL
Choose from 1, 2 [1]: 2
backups [y]: y
==================== INTEGRATIONS =================== [ ]:
use_sentry [y]: y
use_mailhog [y]: y
Select analytics:
1 - Google Analytics
2 - Yandex Metrika
3 - None
Choose from 1, 2, 3 [1]: 2

Project creation will cause some odd newlines and linter errors, so I'd recommend:

$ pip install autopep8
$ autopep8 -r --in-place --aggressive --aggressive backend
$ cd frontend && npm i && npm run lint --fix

Now you can start project withdocker-compose:

$ docker-compose up --build

For production you'll need to fill out .env file and usedocker-compose-prod.yml file:

$ docker-compose -f docker-compose-prod.yml up --build -d

Contributing

Help and feedback are welcome :)

  • 0x00 前言 写在前面的话:不好意思,标题难以免俗,起了个很俗气的名字。 这是我的一个全栈类型 Django 开源项目的系列讲解教程的目录。 为什么写这系列的文章呢?目的总的来说有两个: 一是希望更多的人通过本系列的教程更好的认识 Django 开发技术栈或者说是 Web 开发技术栈,让更多的 Pythonist 更顺畅的进入 Django 开发的世界。 二是希望借由这个持续更新的过程让自己更加

 相关资料
  • Cookiecutter Django Powered by Cookiecutter, Cookiecutter Django is a framework for jumpstartingproduction-ready Django projects quickly. Documentation: https://cookiecutter-django.readthedocs.io/en/l

  • cookiecutter-django-rest a factory for building bleeding edge, best practiced, scalable, rest apis You need to make a scalable api on a deadline. You deeply care about the quality of your work.cookiec

  • Cookiecutter 是一款快速建立工程模板的Python命令行工具。它可以让你快速从模板中建立工程,目前有 Python、C、Common Lisp、JS、LaTeX/XeTeX、Berkshelf-Vagrant 和 HTML 的模板。 从 cookiecutter-pypackage.git 中的模板创建工程,你可以输入一些值, 然后它会在当前工作目录下为你创建一些 Python 包。

  • cookiecutter-flask A Flask template for cookiecutter. (Supports Python ≥ 3.6) See this repo for an example project generated from the most recent version of the template. Use it now Docker (This is th

  • cookiecutter-flask-restful Cookiecutter template for flask restful, including blueprints, application factory, and more Introduction This cookie cutter is a very simple boilerplate for starting a REST

  • Table of Contents This article consists of the following sections. Table of Contents Features Introduction Requirements Quick start Initial directories and files Makefile targets Working with Docker c