From f749215590b91fc01556299df202fb942efadd70 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Sun, 27 May 2018 18:50:35 +0700 Subject: [PATCH] minor update --- README.md | 21 ++++++++++++++++---- browserconfig.xml | 12 ------------ cache.appcache | 10 ---------- humans.txt | 11 ----------- manifest.json | 49 ----------------------------------------------- robots.txt | 7 ------- 6 files changed, 17 insertions(+), 93 deletions(-) delete mode 100644 browserconfig.xml delete mode 100755 cache.appcache delete mode 100755 humans.txt delete mode 100644 manifest.json delete mode 100755 robots.txt diff --git a/README.md b/README.md index d7579ec..7788ccf 100644 --- a/README.md +++ b/README.md @@ -55,10 +55,23 @@ Checkout files at /site/ folder for details ### Instalation: -+ git clone https://github.com/a2nt/silverstripe-webpack.git -+ cd silverstripe-webpack -+ composer install -+ npm install +Install composer: +``` +php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" +php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" +php composer-setup.php +php -r "unlink('composer-setup.php');" + +php -d memory_limit=-1 composer.phar update --ignore-platform-reqs +``` + +``` +git clone https://github.com/a2nt/silverstripe-webpack.git +cd silverstripe-webpack +composer install +npm install +``` + + edit robots.txt, humans.txt, cache.appcache, manifest.json and package.json to setup your own project ### Commands: diff --git a/browserconfig.xml b/browserconfig.xml deleted file mode 100644 index 98137f2..0000000 --- a/browserconfig.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - #000 - - - \ No newline at end of file diff --git a/cache.appcache b/cache.appcache deleted file mode 100755 index d3280bb..0000000 --- a/cache.appcache +++ /dev/null @@ -1,10 +0,0 @@ -CACHE MANIFEST - -FALLBACK: -/ -/resources/site/client/css/app.css -/resources/site/client/img/logo.png -/resources/site/client/img/fonts/fontawesome-webfont.woff2?v=4.7.0 -/resources/site/client/img/fonts/fontawesome-webfont.woff?v=4.7.0 -/resources/site/client/img/fonts/fontawesome-webfont.ttf?v=4.7.0 -/resources/site/client/js/app.js \ No newline at end of file diff --git a/humans.txt b/humans.txt deleted file mode 100755 index 7c664d2..0000000 --- a/humans.txt +++ /dev/null @@ -1,11 +0,0 @@ -/* AUTHOR */ -Name: - -/* TEAM */ -Site: https://bla-bla.com/ - -/* SITE */ -Doctype: HTML5 -IDE: PHPStorm, Sublime Text, Photoshop, Transmit -Framework: SilverStripe -Language: English \ No newline at end of file diff --git a/manifest.json b/manifest.json deleted file mode 100644 index 765edce..0000000 --- a/manifest.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "SilverStripe", - "short_name": "SilverStripe website", - "description": "", - "dir": "auto", - "lang": "en-US", - "display": "standalone", - "orientation": "any", - "start_url": "/?homescreen=1", - "theme_color": "#000000", - "background_color": "#000000", - "icons": [{ - "src": "/resources/site/client/icons/android-chrome-36x36.png", - "sizes": "36x36", - "type": "image/png" - }, { - "src": "/resources/site/client/icons/android-chrome-48x48.png", - "sizes": "48x48", - "type": "image/png" - }, { - "src": "/resources/site/client/icons/android-chrome-72x72.png", - "sizes": "72x72", - "type": "image/png" - }, { - "src": "/resources/site/client/icons/android-chrome-96x96.png", - "sizes": "96x96", - "type": "image/png" - }, { - "src": "/resources/site/client/icons/android-chrome-144x144.png", - "sizes": "144x144", - "type": "image/png" - }, { - "src": "/resources/site/client/icons/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, { - "src": "/resources/site/client/icons/android-chrome-256x256.png", - "sizes": "256x256", - "type": "image/png" - }, { - "src": "/resources/site/client/icons/android-chrome-384x384.png", - "sizes": "384x384", - "type": "image/png" - }, { - "src": "/resources/site/client/icons/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" - }] -} \ No newline at end of file diff --git a/robots.txt b/robots.txt deleted file mode 100755 index dfa00d6..0000000 --- a/robots.txt +++ /dev/null @@ -1,7 +0,0 @@ -User-agent: * -Allow: / -Crawl-delay: 10 -Disallow: /admin -Disallow: /Security -Sitemap: https://www.bla-bla.org/sitemap.xml -Host: https://www.bla-bla.org \ No newline at end of file