monupco.com registartion agent for dotCloud / Python applications
Project description
This is a registration agent for monupco.com preconfigured for Python applications on DotCloud.
It compiles a list of locally installed Python packages and sends it to monupco.com.
Installing on your dotCloud application
Create an account at http://monupco.com
Add a dependency in your requirements.txt file
echo monupco-dotcloud-python >> requirements.txt
Enable the registration script in your postinstall hook. Note: If you are using an “approot” your postinstall script should be in the directory pointed by the “approot” directive of your dotcloud.yml. For more information about postinstall turn to http://docs.dotcloud.com/guides/postinstall/.
If a file named postinstall doesn’t already exist, create it and add the following:
#!/bin/sh /home/dotcloud/env/bin/monupco-dotcloud-python
Make postinstall executable
chmod a+x postinstall
Commit your changes (if using git):
git add . git commit -m "enable monupco registration"
Set your monupco user id. You can get it from https://monupco-otb.rhcloud.com/profiles/mine/.
dotcloud var set <app name> MONUPCO_USER_ID=UserID
Then push your application to dotCloud
dotcloud push
That’s it, you can now check your application statistics at http://monupco.com
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file monupco-dotcloud-python-2.1.tar.gz
.
File metadata
- Download URL: monupco-dotcloud-python-2.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c17a264b8db1cf0aef00b9ad49dd111ad2412b1467f5c2f6f230a40c6f386f17 |
|
MD5 | 1e61612898eaa199bf71e80cab66949c |
|
BLAKE2b-256 | b7471f8ffa9c78a30dedb02c0c91281661283e2915c16f98c372ae9fbebd0d27 |