diff options
| author | Jules <julescarbon@gmail.com> | 2017-05-11 00:45:10 +0000 |
|---|---|---|
| committer | Jules <julescarbon@gmail.com> | 2017-05-11 00:45:10 +0000 |
| commit | 820a4b3508c323b051ee2051d389a6aba8adcbec (patch) | |
| tree | 6e74f375754e5f1eeb0260b0f0375d56009ea7d6 | |
| parent | 77644ca334b3ab950ecd8bb1180c6d16326ce942 (diff) | |
le rebuild
| -rw-r--r-- | newreality.co (renamed from newreality.sup.land) | 8 | ||||
| -rw-r--r-- | package.json | 2 | ||||
| -rw-r--r-- | studio-susie/Gruntfile.js | 109 | ||||
| -rw-r--r-- | studio-susie/package.json | 21 | ||||
| -rw-r--r-- | studio-susie/templates/index.liquid | 2 | ||||
| -rw-r--r-- | studiosusie.com (renamed from susie.sup.land) | 4 |
6 files changed, 95 insertions, 51 deletions
diff --git a/newreality.sup.land b/newreality.co index fd90a1c..940fe87 100644 --- a/newreality.sup.land +++ b/newreality.co @@ -1,11 +1,11 @@ -upstream newreality_cms { +upstream newrealityco_cms { server 127.0.0.1:6516; } server { - listen 8070; - server_name newreality.sup.land newreality.co www.newreality.co; + listen 80; + server_name newreality.co www.newreality.co; client_max_body_size 50M; location / { @@ -13,7 +13,7 @@ server { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; - proxy_pass http://newreality_cms; + proxy_pass http://newrealityco_cms; proxy_redirect off; } } diff --git a/package.json b/package.json index 5072c91..890d207 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": {}, "author": "OKFocus", "dependencies": { - "okcms": "git+ssh://git@github.com/okfocus/okcms.git#v0.2.5" + "okcms": "git+ssh://git@ghghgh.us/~/okcms.git#v0.2.5" }, "devDependencies": { "grunt": "^0.4.5", diff --git a/studio-susie/Gruntfile.js b/studio-susie/Gruntfile.js index 7f3fedc..553d8c1 100644 --- a/studio-susie/Gruntfile.js +++ b/studio-susie/Gruntfile.js @@ -1,42 +1,65 @@ module.exports = function(grunt) { - // Project configuration. - grunt.initConfig({ - pkg: grunt.file.readJSON('package.json'), - concat: { - index: { - options: { - separator: "\n;\n" - }, - src: [ - "public/js/vendor/prefixfree.min.js", - "public/js/vendor/fastclick.js", - "public/js/vendor/util.js", - - "public/js/app.js", + // Project configuration. + grunt.initConfig({ + pkg: grunt.file.readJSON('package.json'), + concat: { + index: { + options: { + separator: "\n;\n" + }, + src: [ +"public/assets/js/vendor/confetti.js", +"public/assets/js/vendor/es5-shim.min.js", +"public/assets/js/vendor/fastclick.js", +"public/assets/js/vendor/froogaloop.js", +"public/assets/js/vendor/hammer.min.js", +"public/assets/js/vendor/history.min.js", +"public/assets/js/vendor/html5shiv.min.js", +"public/assets/js/vendor/iscroll.js", +"public/assets/js/vendor/jquery.fullpage.js", +"public/assets/js/vendor/liquid-lite.min.js", +"public/assets/js/vendor/loader.js", +"public/assets/js/vendor/lodash.min.js", +"public/assets/js/vendor/okcms.js", +"public/assets/js/vendor/oktween.js", +"public/assets/js/vendor/prefixfree.min.js", +"public/assets/js/vendor/util.js", +"public/assets/js/vendor/view/View.js", +"public/assets/js/vendor/view/OKTmplView.js", +"public/assets/js/vendor/view/Router.js", +"public/assets/js/vendor/view/ScrollableView.js", +"public/assets/js/lib/nav/DesktopNav.js", +"public/assets/js/lib/nav/MobileNav.js", +"public/assets/js/lib/view/HomeView.js", +"public/assets/js/lib/view/ListView.js", +"public/assets/js/lib/view/PageView.js", +"public/assets/js/lib/view/PaintingView.js", +"public/assets/js/lib/_router.js", +"public/assets/js/app.js", ], - dest: 'public/app.concat.js', - }, - css: { - options: { - separator: "\n" - }, - src: [ + dest: 'public/app.concat.js', + }, + css: { + options: { + separator: "\n" + }, + src: [ "public/css/main.css", - ], - dest: 'public/app.css', - }, - }, + ], + dest: 'public/app.css', + }, + }, - uglify: { - options: { - banner: '/* okfoc.us 2016 */\n' - }, - index: { - src: 'public/app.concat.js', - dest: 'public/app.min.js' - } - }, + uglify: { + options: { + banner: '/* okfoc.us 2016 */\n' + }, + index: { + src: 'public/app.concat.js', + dest: 'public/app.min.js' + } + }, clean: { release: [ @@ -44,15 +67,15 @@ module.exports = function(grunt) { "tmp/" ], } - }); + }); - // Load tasks that we'll be using - grunt.loadNpmTasks('grunt-contrib-concat'); - grunt.loadNpmTasks('grunt-contrib-uglify'); - grunt.loadNpmTasks('grunt-contrib-clean'); - grunt.loadNpmTasks('grunt-contrib-copy'); - grunt.loadNpmTasks('grunt-dentist'); + // Load tasks that we'll be using + grunt.loadNpmTasks('grunt-contrib-concat'); + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-clean'); + grunt.loadNpmTasks('grunt-contrib-copy'); + grunt.loadNpmTasks('grunt-dentist'); - // Default task(s). - grunt.registerTask('default', ['concat', 'uglify', 'clean']); + // Default task(s). + grunt.registerTask('default', ['concat', 'uglify', 'clean']); }; diff --git a/studio-susie/package.json b/studio-susie/package.json new file mode 100644 index 0000000..890d207 --- /dev/null +++ b/studio-susie/package.json @@ -0,0 +1,21 @@ +{ + "name": "new-reality-co", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": {}, + "author": "OKFocus", + "dependencies": { + "okcms": "git+ssh://git@ghghgh.us/~/okcms.git#v0.2.5" + }, + "devDependencies": { + "grunt": "^0.4.5", + "grunt-cli": "^0.1.13", + "grunt-contrib-clean": "^0.6.0", + "grunt-contrib-concat": "^0.5.1", + "grunt-dentist": "^0.3.4", + "grunt-contrib-copy": "^0.8.0", + "grunt-contrib-uglify": "^0.9.1" + } +} + diff --git a/studio-susie/templates/index.liquid b/studio-susie/templates/index.liquid index 2020a91..b28d594 100644 --- a/studio-susie/templates/index.liquid +++ b/studio-susie/templates/index.liquid @@ -157,7 +157,7 @@ <script defer async src="https://www.youtube.com/iframe_api"></script> {% if meta.production %} - <script src="/assets/js/app.min.js"></script> + <script src="/app.min.js"></script> {% else %} <script src="/assets/js/vendor/prefixfree.min.js"></script> <script src="/assets/js/vendor/html5shiv.min.js"></script> diff --git a/susie.sup.land b/studiosusie.com index 6ec6dc8..13d65f5 100644 --- a/susie.sup.land +++ b/studiosusie.com @@ -4,8 +4,8 @@ upstream susie_cms { } server { - listen 8070; - server_name susie.sup.land studiosusie.com www.studiosusie.com; + listen 80; + server_name studiosusie.com www.studiosusie.com; client_max_body_size 50M; location / { |
