Git Product home page Git Product logo

blog_cms's Introduction

simple python project template

how to use

  1. src 修改成项目的名称
  2. 修改 git remote 地址 git remote set-url origin new-git-remote-url
  3. git add . && git commit -m "init the new project" && git push -u origin master

如何设置开发环境

  1. 按照你的需求修改 ./scripts/setup_venv_examples.bash, 此脚本用来创建本地虚拟 python 环境
  2. 开发时, 如果要添加依赖, 请加入到requirements/requirements.in 或者./requirements/dev-requirements.in 中, 开发时, 运行./scripts/gen_deps.bash 来更新依赖并安装依赖
  3. 部署时, 直接pip install requirements.txt && pip install dev-requirements.txt 来安装依赖
  4. 注意, .envrc中包含了一些环境变量, 此文件不会自动执行, 可以source .envrc 或者 使用direnv 来每次进入此文件夹时自动运行

TODO

  • 在线服务部分需要未测试, 需要重新写
  • 持续集成, 持续部署
  • 支持setup.py, 支持pip install安装项目

blog_cms's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.