Hello everyone! Today I was trying to add captcha field to my form and faced with little problem with PIL. By default it doesn't support a lot of needed libraries! I've got many useful info from here and here. With this docu I was afraid that I couldn't setup PIL correctly on my host mashine on Openshift. But result was successful. So I'd like to share with you my experience. First af all we need to create for PIL all required symlinks. For 32-bit Ubuntu: sudo apt-get install libjpeg62 libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev ln -s /usr/lib/i386-linux-gnu/libfreetype.so /usr/lib/ ln -s /usr/lib/i386-linux-gnu/libz.so /usr/lib/ ln -s /usr/lib...
Published ago by AnaPana

A few days ago I had a small task for installing compiled packages by pip from local repository in Artifactory. Hope that this will be useful for someone. 1. Make local repo on Artifactory. Note: User should be logged in and have admin privileges. Admin -> Local Repositories -> New Type the Repository Key and switch to Packages Tab. Find PyPI section and check the checkbox with "Enable PyPI Suuport" text. Click "Save" button. Now you can download any package you want on the Deploy tab. 2. Create permissions for "anonymous" user for this repo. Note: If permissions are not set properly, after "pip install" command you'll...
Published ago by AnaPana

Python
Web development
Review Linux
Administration
Provisioning CVS
Windows AWS
Continuous Integration
NoSql Logging Web Servers FileSystems Scala
accurev ansible apach2 apache api application approaches architecture archivation argparse arguments artifactory automation awk aws backup bash batch-scripting beaver block build built-in caching call captcha cartridge case certificates cgi chain client cloud cloudformation cluster cmd coding collections command-line commands compression conditionals conversion convert cookbook copy counter cron crud css cut cygwin daemon datatype date dd debpackage decorator delattr deploy deque dict distributed-file-systems django DNS domain driver dropbox dump elasticcache elasticsearch encryption exit ext4 extra-tags failover file filename filters for form format freetds functions gerrit getattribute gid git globals glusterfs hardware hook iam indexing inheritance init install job-interview jquery ldap linux list locals logging logs logstash lookup magicmethods mail main-menu metadata metalogger mongodb moosefs mount mssql multiplatform multithreading mysql netcat nginx nosql open-ssh openldap openshift os packaging parse partition path pattern patterns permissions pid pil pip pipe playbook pool post post-commit processes production provisioning proxy putty python python-mysql recursively redirection redis register replication repr restore return review rotation scala script search selenium server setattr settings setup shipper signals singleton slots snapshot socket splunk ssh ssh-key ssl storage str string style subprocess sugar super switch syntactic syntaxhighlighter systeminfo tail tar templatetags time tls tune2fs tuple ubuntu unicode unique unix unixodbc usage usecases uuid uwsgi variable vars version vi virtualenv volume web web-server windows with_items __getattr__