Skip to content

Instantly share code, notes, and snippets.

View bcerban's full-sized avatar

Bettina bcerban

View GitHub Profile
@bcerban
bcerban / magento2.conf
Last active July 3, 2018 15:29
Apache conf file for CircleCi test env
Listen 8080
<VirtualHost *:8080>
ServerAdmin webmaster@localhost
DocumentRoot /home/circleci/magento2
ServerName magento2.dev
<Directory /home/circleci/magento2>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
@bcerban
bcerban / test.conf
Created April 13, 2018 19:21
nginx conf
# Magento Vars
# set $MAGE_ROOT /path/to/magento/root;
# set $MAGE_MODE default; # or production or developer
#
# Example configuration:
# upstream fastcgi_backend {
# # use tcp connection
# # server 127.0.0.1:9000;
# # or socket
# server unix:/var/run/php5-fpm.sock;
@bcerban
bcerban / install-config-mysql.php
Created January 2, 2018 18:56
POS API Functional Tests Database Config M2
<?php
return [
'language' => 'en_US',
'timezone' => 'America/Los_Angeles',
'currency' => 'USD',
'db-host' => 'localhost',
'db-name' => 'circle_test',
'db-user' => 'ubuntu',
'db-password' => '',
@bcerban
bcerban / composer.json
Last active October 25, 2017 20:48
Composer configuration for POS EE tests
{
"name": "magento/project-enterprise-edition",
"description": "eCommerce Platform for Growth (Enterprise Edition)",
"type": "project",
"version": "2.1.6",
"license": [
"proprietary"
],
"repositories": [
{
@bcerban
bcerban / Ebizmarts_BakerlooRestful.xml
Last active February 27, 2018 13:25
Ebizmarts_BakerlooRestful.xml
<_>
<form_key>ytCenG7ezmf6zfzg</form_key>
<name>Ebizmarts_BakerlooRestful</name>
<channel>community</channel>
<version_ids>
<version_ids>2</version_ids>
</version_ids>
<summary>POS by Ebizmarts connector</summary>
<description>POS by Ebizmarts connector</description>
<license>OSL</license>
@bcerban
bcerban / update-pos-db.sql
Created December 3, 2015 17:11
POS db updates
--
-- Update to 1.7.9
--
ALTER TABLE `bakerloo_restful_orders` MODIFY COLUMN `json_payload` LONGTEXT;
ALTER TABLE `bakerloo_restful_orders` MODIFY COLUMN `json_payload_enc` LONGTEXT;
--
-- Table structure for table `bakerloo_restful_customprice`
--
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php