Skip to content

The php wrapper for the new pochta.ru/parcel delivery cost calculator.

License

Notifications You must be signed in to change notification settings

r3code/pochtaru-parcel-cost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pochta.ru parcel delivery calculator

The php wrapper for the new pochta.ru/parcel delivery cost calculator.

To run tests

Call sh testall.sh it will start PHPUnit and run tests. Build Status

Setup Cloud9 Environment

Install PHPUnit 4.8 for Cloud9 php5.5.9 run

#create %user%/bin
mkdir ~/bin/
echo "bin" >> .gitignore

# Install old stable HPUnit 4.8 for correct work with Cloud9 php5.5.9
wget https://phar.phpunit.de/phpunit-old.phar -P ~/bin/

#make executable
chmod +x ~/bin/phpunit.phar

#add symlink
ln -s ~/bin/phpunit.phar ~/bin/phpunit

#check phpunit installed
 phpunit --version

Inspired by https://gist.github.com/mikedfunk/5146798

Set Apache output encoding

Enable "Show Hidden Files" and create .htaccess file in the root foolder. Add this line to it:

AddDefaultCharset utf-8

Push to Github

To push code to Github do http://www.jimcode.org/2012/12/setting-git-github-cloud9-ide-pushing-live-server/

About

The php wrapper for the new pochta.ru/parcel delivery cost calculator.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published