minor update

This commit is contained in:
Tony Air 2018-05-27 18:50:35 +07:00
parent 6b139c19c9
commit f749215590
6 changed files with 17 additions and 93 deletions

View File

@ -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:

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square70x70logo src="/resources/site/client/icons/mstile-70x70.png"/>
<square150x150logo src="/resources/site/client/icons/mstile-150x150.png"/>
<wide310x150logo src="/resources/site/client/icons/mstile-310x150.png"/>
<square310x310logo src="/resources/site/client/icons/mstile-310x310.png"/>
<TileColor>#000</TileColor>
</tile>
</msapplication>
</browserconfig>

View File

@ -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

View File

@ -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

View File

@ -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"
}]
}

View File

@ -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