diff --git a/.gitignore b/.gitignore index cc7f6f5..386f24a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ node_modules -key.json yarn.lock package-lock.json \ No newline at end of file diff --git a/custom/public/img/avatar_default.png b/custom/public/img/avatar_default.png new file mode 100644 index 0000000..c651120 Binary files /dev/null and b/custom/public/img/avatar_default.png differ diff --git a/custom/public/img/favicon.png b/custom/public/img/favicon.png new file mode 100644 index 0000000..c651120 Binary files /dev/null and b/custom/public/img/favicon.png differ diff --git a/custom/public/img/gitea-safari.svg b/custom/public/img/gitea-safari.svg new file mode 100644 index 0000000..9ae3656 --- /dev/null +++ b/custom/public/img/gitea-safari.svg @@ -0,0 +1,3 @@ + + + diff --git a/custom/public/img/gitea-sm.png b/custom/public/img/gitea-sm.png new file mode 100644 index 0000000..7107ad7 Binary files /dev/null and b/custom/public/img/gitea-sm.png differ diff --git a/public/index.html b/custom/templates/home.tmpl similarity index 76% rename from public/index.html rename to custom/templates/home.tmpl index 77d6b77..21b7d21 100644 --- a/public/index.html +++ b/custom/templates/home.tmpl @@ -161,9 +161,9 @@
- - - + + +

git.berlin

diff --git a/gulpfile.js b/gulpfile.js index 7a9609b..9d1cc81 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,21 +1,15 @@ -'use strict' - -var gulp = require('gulp'), - gs = require('gulp-gcloud-publish'), - browser = require('browser-sync') +const gulp = require('gulp') +const rsync = require('gulp-rsync') +const browser = require("browser-sync").create() // paths -var DIST = './public/' - -// deployment -var BUCKET = 'hello.git.berlin', - PROJECTID = 'git-berlin' +const DIST = './custom/' // // Dev Server // -gulp.task('server', function() { +gulp.task('server', () => { browser.init({ server: DIST, port: 1337, @@ -28,14 +22,13 @@ gulp.task('server', function() { // Deployment // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -gulp.task('deploy', function() { - +gulp.task('deploy', () => { return gulp.src(DIST + '**/*') - .pipe(gs({ - bucket: BUCKET, - keyFilename: 'key.json', - projectId: PROJECTID, - base: '/', - public: true + .pipe(rsync({ + root: DIST, + hostname: 'git', + username: 'ubuntu', + destination: '/home/git/gitea/custom', + chown: 'git:git' })) }) diff --git a/logo-gitberlin-header.png b/logo-gitberlin-header.png index 19816af..7107ad7 100644 Binary files a/logo-gitberlin-header.png and b/logo-gitberlin-header.png differ diff --git a/logo.sketch b/logo.sketch index 729dc41..5bc8195 100644 Binary files a/logo.sketch and b/logo.sketch differ diff --git a/logo.svg b/logo.svg new file mode 100644 index 0000000..388a2ba --- /dev/null +++ b/logo.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/package.json b/package.json index b792285..a21a1d4 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,13 @@ }, "homepage": "https://git.berlin", "main": "gulpfile.js", + "scripts": { + "start": "gulp server" + }, "devDependencies": { "browser-sync": "^2.26.3", - "gulp": "^3.9.1", - "gulp-awspublish": "^3.4.0", - "gulp-gcloud-publish": "^2.1.1" + "gulp": "^4.0.0", + "gulp-rsync": "0.0.8" }, "engines": { "node": ">=10"