Initial commit

This commit is contained in:
R. Eric Wheeler 2017-02-07 13:17:46 -08:00
commit ac996f022d
12 changed files with 2079 additions and 0 deletions

3
.bowerrc Normal file
View File

@ -0,0 +1,3 @@
{
"directory":"vendor/bower"
}

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
node_modules/
vendor/
*~
lib/mysql/

26
bower.json Normal file
View File

@ -0,0 +1,26 @@
{
"name": "doughnutwedding",
"description": "doughnutwedding.com website",
"main": "index.js",
"authors": [
"sikofitt <sikofitt@gmail.com>"
],
"license": "GPL-3.0",
"keywords": [
"wedding"
],
"homepage": "http://doughnutwedding.com",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"vendor/bower",
"test",
"tests"
],
"dependencies": {
"uikit": "3",
"jquery": "^3.1.1"
}
}

0
build/css/doughnut.css Normal file
View File

0
build/js/doughnut.js Normal file
View File

0
build/less/.gitkeep Normal file
View File

28
composer.json Normal file
View File

@ -0,0 +1,28 @@
{
"name": "sikofitt/doughnutwedding",
"description": "doughnutwedding.com website",
"type": "project",
"require": {
"hoa/router": "3.17.01.14",
"twig/twig": "^2.1",
"omnipay/paypal": "^2.6",
"twig/extensions": "^1.4",
"doctrine/dbal": "^2.5",
"doctrine/orm": "^2.5",
"symfony/console": "^3.2",
"pimple/pimple": "^3.0",
"symfony/http-foundation": "^3.2"
},
"require-dev": {
"phpunit/phpunit": "^6.0",
"fzaninotto/faker": "^1.6"
},
"license": "GPL-3.0",
"authors": [
{
"name": "sikofitt",
"email": "sikofitt@gmail.com"
}
],
"minimum-stability": "stable"
}

22
conf.d/default.conf Normal file
View File

@ -0,0 +1,22 @@
server {
listen 0.0.0.0:80;
access_log /var/log/nginx/host.access.log main;
error_log /var/log/nginx/host.error.log;
root /var/www/html;
location / {
index index.php index.html;
try_files $uri /index.php$is_args$args;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass php:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}
}

33
docker-compose.yml Normal file
View File

@ -0,0 +1,33 @@
version: '2'
services:
web:
image: nginx:alpine
ports:
- "80:80"
volumes:
- ./:/var/www
- ./public:/var/www/html
- ./conf.d:/etc/nginx/conf.d
links:
- php
- mysql
restart: always
php:
build: ./docker/php
volumes:
- ./:/var/www
- ./public:/var/www/html
restart: always
mysql:
image: mysql:5.7
environment:
- "MYSQL_ROOT_PASSWORD=root"
- "MYSQL_DATABASE=doughnut"
- "MYSQL_USER=doughnut"
- "MYSQL_PASSWORD=doughnut"
ports:
- "3306:3306"
volumes:
- ./lib/mysql:/var/lib/mysql

21
docker/php/Dockerfile Normal file
View File

@ -0,0 +1,21 @@
FROM php:7.0-fpm-alpine
ENV PHPIZE_DEPS \
autoconf \
file \
g++ \
gcc \
libc-dev \
make \
pkgconf \
re2c \
icu-dev \
sqlite-dev
RUN apk update && apk add --no-cache --virtual .build-deps $PHPIZE_DEPS && apk add icu-libs icu
RUN /usr/local/bin/docker-php-ext-install pdo_mysql intl
RUN apk del .build-deps
COPY ./php.ini /usr/local/etc/php

1917
docker/php/php.ini Normal file

File diff suppressed because it is too large Load Diff

25
package.json Normal file
View File

@ -0,0 +1,25 @@
{
"name": "doughnutwedding",
"version": "1.0.0",
"description": "doughnutwedding.com website",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://repos.bgemi.net/sikofitt/doughnut-wedding"
},
"keywords": [
"wedding"
],
"author": "sikofitt <sikofitt@gmail.com>",
"license": "GPL-3.0",
"devDependencies": {
"grunt": "^1.0.1",
"grunt-contrib-cssmin": "^1.0.2",
"grunt-contrib-less": "^1.4.0",
"grunt-contrib-watch": "^1.0.0",
"less-plugin-autoprefix": "^1.5.1"
}
}