Giter Club home page Giter Club logo

capistrano-django's People

Contributors

madisona avatar mattjmorrison avatar pobocks avatar stclair avatar taddeimania avatar toranb avatar williamsbdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

capistrano-django's Issues

Support for symlinked shared virtualenv instead of per-deploy build.

Currently, this script builds a new virtualenv per deploy, which extends deploy times by quite a bit.

I've written some code to build the virtualenv once, in the shared directory, and then symlink it into the release directory. I'm submitting a pull request - AFAICT, it doesn't break anything, and is switchable via one config variable.

Minimal example project

It's been a long time since i've used capistrano (and django) so coming back to this library exposed a lot of pieces of config that I completely forgot about.

I created a minimal deploy example app that has a few placeholders here.

Would you rather link externally or have me add it to the project and do a PR?

No way to specify arguments to virtualenv creation command.

Currently. the virtualenv command that runs via python:create_virtualenv is just a flat virtualenv #{path}; there are several options that might be useful/necessary to pass to it at creation time, e.g. python to use, system-site-package, etc.

Add support for "npm_task" instead of "grunt_task"

Matt

Would you be willing to support a "breaking change" to the project? example -today this assumes you are using grunt for the npm deploy step but it would be nice to support grunt/gulp/broccoli/whatever is next and I'm thinking this line

https://github.com/mattjmorrison/capistrano-django/blob/master/lib/capistrano/django.rb#L141

We could swap out for a complete "npm task" in the config so I would supply this

set :npm_task, './node_modules/.bin/grunt deploy'

Instead of this (what I'm doing today)

set :grunt_task, 'deploy'

Any way you would be up for a change like this in the next release?

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.