This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.1" encoding="UTF-8"?> | |
<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> | |
<!--Created by Ukelele version 2.2.8 on 2014-09-16 at 09:30 (GMT+3)--> | |
<!--Last edited by Ukelele version 3.0.0.43 on 2015-11-15 at 20:41 (EET)--> | |
<keyboard group="0" id="13634" maxout="1" name="LatvianHashPlus"> | |
<layouts> | |
<layout first="0" last="0" mapSet="138" modifiers="30"/> | |
</layouts> | |
<modifierMap defaultIndex="8" id="30"> | |
<keyMapSelect mapIndex="0"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 37.139.8.70:443 ssl; | |
server_name app.easygodiet.com; | |
ssl on; | |
ssl_certificate /etc/ssl/app.easygodiet.com/app.easygodiet.com.crt; | |
ssl_certificate_key /etc/ssl/app.easygodiet.com/app.easygodiet.com.key; | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_prefer_server_ciphers on; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Existing | |
seen: 0, # Offer has been seen / rendered | |
opened: 1, # Offer has been opened - button pressed | |
accepted: 2, # Offer has been accepted - see CreativeSubscriptions::OffersController track_purchase | |
rejected: 3, # Offer has been rejected - either CreativeSubscriptions::OffersController#reject or CreativeSubscriptions::OffersController#track_purchase | |
registered: 4, # User has successfully registered for recurring payments (purchased product) | |
registered_without_retry: 5, # Registration has been completed without any failed payments | |
retry_seen: 6, # Retry after failed payment has been seen | |
retried: 7, # Has retried after seeing retry | |
retry_registered: 8, # Registration has been completed right after retried |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ case "$(lsb_release -si)" in | |
++ lsb_release -si | |
+ export DOKKU_DISTRO=ubuntu | |
+ DOKKU_DISTRO=ubuntu | |
+ export DOKKU_IMAGE=gliderlabs/herokuish | |
+ DOKKU_IMAGE=gliderlabs/herokuish | |
+ export DOKKU_LIB_ROOT=/var/lib/dokku | |
+ DOKKU_LIB_ROOT=/var/lib/dokku | |
+ export PLUGIN_PATH=/var/lib/dokku/plugins | |
+ PLUGIN_PATH=/var/lib/dokku/plugins |
Straight to Maintenance
Initialize the droplet with dokku app pre-setup
#Edit MySQL config:
sudo rvim /etc/mysql/my.cnf
80% RAM to innodb_buffer_pool_size -> https://www.percona.com/blog/2015/06/02/80-ram-tune-innodb_buffer_pool_size/
#XMLRPC issues Search for XMLRPC POST logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-05-06 11:30:04 140555160876992 [Note] InnoDB: 128 rollback segment(s) are active. | |
2016-05-06 11:30:04 140555160876992 [Note] InnoDB: Waiting for purge to start | |
2016-05-06 11:30:04 140555160876992 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-76.0 started; log sequence number 1616809 | |
2016-05-06 11:30:04 140554365011712 [Note] InnoDB: Dumping buffer pool(s) not yet started | |
ERROR: 1049 Unknown database 'test' | |
2016-05-06 11:30:04 140555160876992 [ERROR] Aborting | |
WARNING: OPENGIS REQUIRED SP-S WERE NOT COMPLETELY INSTALLED! | |
GIS extentions might not work properly. |
Inspired by jubalm's version
3. Deploying
Create an account with PayPal
Follow through all the steps to enable recieving payments
Visit the config page to review your progress
Log into PayPal developer site (create a session)
Navigate to sandbox acounts