Comments (18)
Hey there,
In Cactus v3, we support S3, Rackspace Cloud Files (which could probably support Swift in general pretty easily), and Google Cloud Storage.
Did you have something else in mind?
Cheers,
from cactus.
Cool, didn't realize that. I'd love to be able to deploy to WebFaction.
from cactus.
The interface in v3 is supposed to be pluggable, so you be able to add this
as a deployment option.
Let me know how it goes / if you need help getting familiar with the
architecture.
Cheers,
from cactus.
Great. I'll take a look. Thanks!
from cactus.
+1 for Github pages
from cactus.
dibs on Github pages. I'll be gladly looking into this and propose a pull request.
from cactus.
What do you think about ading a simple ftp deployment? With just host, username, password and destination directory
from cactus.
This should be rather easy to write as a deployment engine. If you're interested in working on this, just let me know, and I'll provide some tips to get you started.
Cheers,
from cactus.
Yes, give me some pointers and I'll try :)
from cactus.
Basically, there are three things you need. I suggest you use the Rackspace examples here, they're probably the simplest:
https://github.com/koenbok/Cactus/blob/master/cactus/deployment/cloudfiles/
You need to:
Create a credentials manager. This basically is just an object that tells Cactus where and how to store Credentials. This is really trivial, yours should probably look like this:
class FTPCredentialsManager(BaseKeyringCredentialsManager):
_username_config_entry = "ftp-username"
_password_display_name = "FTP Password"
_keyring_service = "cactus/ftp"
Next, create the deployment engine. This class should take care of all preparation work in the configure()
method. In your case, this may be... nothing.
This should inherit from the BaseEngine
defined here: https://github.com/koenbok/Cactus/blob/master/cactus/deployment/engine.py
The actual entrypoint called by Cactus is deploy()
. This calls into the last thing you need to create, which is the file class. The file class is basically a class that should know how to deploy a given file. It should inherit from BaseFile
.
There, you'll want to define do_upload
and remote_changed
(though the former can just return True
unconditionally, but that wouldn't be ideal). Like the name implies, do_upload
should upload your file.
You can pull in additional dependencies if needed. Just make sure you make them optional (look at the existing setup.py
).
Let me know if you need further help,
Cheers,
from cactus.
@w4nderlust are you still working on a ftp deployment engine?
from cactus.
I haven't started yet actually, I was thinking of doing it this week.
Il giorno 17/mag/2015, alle ore 21:27, pani-c [email protected] ha scritto:
@w4nderlust https://github.com/w4nderlust are you still working on a ftp deployment engine?
—
Reply to this email directly or view it on GitHub #80 (comment).
from cactus.
Please leave a note if you're up to something ;-)
from cactus.
Hi everybody! Any news about a standard FTP deployment engine?
from cactus.
I was looking into pysftp but had trouble with its dependencies :(
from cactus.
@krallin like this? syllog1sm@6e458b5
Doesn't complete any of the actual work yet. But the skeleton should be right, right?
Edit: It looks like there also needs to be CLI hooks for the deployment options? I can't figure out the entry point to these.
from cactus.
For a straight local file system deployment, I have raise PR #171.
from cactus.
How about Netlify? How would I deploy using that?
from cactus.
Related Issues (20)
- cactusformac.com Offline HOT 11
- django 1.6 conflicts with python 3.5 from conda install HOT 1
- fatal error for cryptography-1.5.2 during python setup.py install HOT 1
- Objects and arrays yaml variables not working HOT 4
- Using Django Compressor HOT 1
- locale problem in django 1.6.11 HOT 2
- Django variable CURRENT_PAGE.absolute_final_url not existing in Cactus 1.1.22 (440) HOT 8
- How can I remove the /posts/ part in my URL while keeping the posts folder?
- Blog Plugin Not Working? HOT 2
- Can't build because of missing staticfiles template HOT 1
- [question] Still maintained? HOT 6
- Urls in sites without locale being prefixed by 'en-us' HOT 1
- Is there a way to turn off gzip compression when deploying to AWS? HOT 1
- robots.txt shoud feature full URL to site.
- Testing site before uploading HOT 2
- Pretty URLs on S3 with HTTPS
- [question] New release? HOT 1
- cactus build fails with Python3 HOT 3
- No Updates since 3 years? HOT 9
- cactus serve fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cactus.