Unverified Commit 2148d450 authored by Christopher Guindon's avatar Christopher Guindon Committed by GitHub
Browse files
parent 3b7452db
......@@ -2,7 +2,7 @@ language: node_js
node_js:
- "12"
install:
- npm ci
- yarn install --frozen-lockfile
- wget https://github.com/gohugoio/hugo/releases/download/v0.76.5/hugo_0.76.5_Linux-64bit.deb
- sudo dpkg -i hugo*.deb
script:
......
......@@ -10,13 +10,13 @@ The [opensourceinnovation.eu](https://opensourceinnovation.eu) website is genera
Install dependencies, build assets and start a webserver:
```bash
npm install
yarn
hugo server
```
## Request an Event Website
Eclipse Foundation Staff can request an Event website similar to [December](https://opensourceinnovation.eu/2020/december/) by creating a [GitHub issue](https://github.com/EclipseFdn/opensourceinnovation.eu/issues/new?template=event.md).
Eclipse Foundation Staff can request an Event website similar to [December](https://opensourceinnovation.eu/2020/december/) by creating a [GitHub issue](https://github.com/EclipseFdn/opensourceinnovation.eu/issues/new?template=event.md).
The Eclipse Foundation Webdev team will start working on your request once the [Event Website Content Template](https://docs.google.com/document/d/1oVLBK8tzyuYC9OUisy1x-cc50PfGx0alnUHw9RYlZag) is completed and uploaded to your issue.
......@@ -47,7 +47,7 @@ Images, less and JavaScript files for the Eclipse Foundation look and feel.
### [EclipseFdn/hugo-solstice-theme](https://github.com/EclipseFdn/hugo-solstice-theme)
Hugo theme of the Eclipse Foundation look and feel.
Hugo theme of the Eclipse Foundation look and feel.
## Bugs and feature requests
......
/*!
* Copyright (c) 2021 Eclipse Foundation, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* Contributors:
* Christopher Guindon <chris.guindon@eclipse-foundation.org>
*
* SPDX-License-Identifier: EPL-2.0
*/
import 'eclipsefdn-solstice-assets'
\ No newline at end of file
[build]
publish = "public"
command = "npm run build_netlify && hugo --gc --minify"
command = "yarn run build_netlify && hugo --gc --minify"
[build.environment]
NODE_VERSION = "12.18.3"
......@@ -11,20 +11,20 @@ HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.split1]
command = "npm run build_netlify && hugo --gc --minify --enableGitInfo"
command = "yarn run build_netlify && hugo --gc --minify --enableGitInfo"
[context.split1.environment]
HUGO_VERSION = "0.76.5"
HUGO_ENV = "production"
[context.deploy-preview]
command = "npm run build_netlify && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
command = "yarn run build_netlify && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.76.5"
[context.branch-deploy]
command = "npm run build_netlify && hugo --gc --minify -b $DEPLOY_PRIME_URL"
command = "yarn run build_netlify && hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.76.5"
......
This diff is collapsed.
......@@ -21,7 +21,7 @@
"postinstall": "NODE_ENV=production npm run production"
},
"dependencies": {
"eclipsefdn-hugo-solstice-theme": "0.0.111"
"eclipsefdn-hugo-solstice-theme": "0.0.129"
},
"browserslist": "last 5 version, > 0.2%, not dead, IE 11"
}
/*!
* Copyright (c) 2018 Eclipse Foundation, Inc.
*
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
*
* Contributors:
* Christopher Guindon <chris.guindon@eclipse-foundation.org>
*
*
* SPDX-License-Identifier: EPL-2.0
*/
*/
mix = require('laravel-mix');
mix.options({uglify: {uglifyOptions: {compress: false, output: {comments: true}}}});
require('laravel-mix-transpile-node-modules');
mix.transpileNodeModules(['eclipsefdn-solstice-assets']);
mix.options({
uglify: { uglifyOptions: { compress: false, output: { comments: true } } },
});
const { env } = require('minimist')(process.argv.slice(2));
mix.setPublicPath('static');
mix.setResourceRoot('../');
mix.less('./less/styles.less', 'static/css/styles.css');
mix.babel([
'./node_modules/jquery/dist/jquery.min.js',
'./node_modules/bootstrap/dist/js/bootstrap.min.js',
'./node_modules/jquery-match-height/dist/jquery.matchHeight-min.js',
'./node_modules/jquery-eclipsefdn-api/dist/jquery.eclipsefdn-api.min.js',
'./node_modules/feather-icons/dist/feather.min.js',
'./node_modules/cookieconsent/src/cookieconsent.js',
'./node_modules/owl.carousel/dist/owl.carousel.min.js',
'./node_modules/eclipsefdn-solstice-assets/js/solstice.cookieconsent.js',
'./node_modules/eclipsefdn-solstice-assets/js/eclipsefdn.videos.js',
'./node_modules/eclipsefdn-solstice-assets/js/solstice.cookies.js',
'./node_modules/eclipsefdn-solstice-assets/js/solstice.js',
'./node_modules/eclipsefdn-solstice-assets/js/solstice.eventsmodal.js'
], './static/js/solstice.js');
\ No newline at end of file
mix.webpackConfig({
resolve: {
alias: {
jquery: 'jquery/src/jquery',
},
},
});
mix.js(
['js/main.js'],
'./static/js/solstice.js'
);
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment