Code Monkey home page Code Monkey logo

gdgpisa.github.io's Introduction

GDG Pisa's public website ๐ŸŒŽ

License Twitter

readme screenshot

Welcome to the Google Developer Group Pisa public website ๐ŸŒŽ The website is written with Jekyll and hosted on GitHub Pages.

The website is publicly available on https://gdgpisa.it/.

Feel free to fork โธ‘ or star โญ๏ธ this repo! Contributions are really appreciated. Please have a look at the Contributing Guidelines or at the TODO list down there. You can easily start having a look at our Issues.

Don't know where to start? ๐Ÿค” have a look at our help wanted or good first issue tickets.

Feature ๐Ÿ’…

  • Material Designed (based on hcz-jekyll-blog theme) ๐ŸŽจ
  • Mobile Responsive ๐Ÿ“ฑ
  • Progressive Web App ready ๐Ÿ–ฅ
  • HTML5 Cache support โ™ป๏ธ
  • Awesome Community behind ๐Ÿค

Getting Started (building the website locally) ๐Ÿ› 

To get starting developing, we really recommend to clone the website locally and start developing on your machine.

This will allow you to preview what the generated site will look like in your browser locally. Jekyll comes also with a auto-regenerate feature, this will allow you to quickly iterate over different changes to the website (useful if you're touching the CSS files). More info about the auto-regenerate feature on the Jekyll usage page.

Linux

  1. Install Ruby with your package manager.
Debian
sudo apt install ruby ruby-dev

ArchLinux
sudo pacman -S ruby
  1. Clone this repository (you need git installed).
git clone https://github.com/gdgpisa/gdgpisa.github.io.git
cd gdgpisa.github.io/
  1. To configure gems user-wide add the following line to your shell configuration files, for example ~/.bashrc or ~/.zshrc
export GEM_HOME=$(ruby -e 'print Gem.user_dir')
  1. Open your terminal and install jekyll and bundler
gem install jekyll
gem install bundler
  1. To run executable gems, without typing the full location, run the following command or add it to your shell configuration files, for example ~/.bashrc or ~/.zshrc.
PATH=$(ruby -e 'print Gem.user_dir')/bin:$PATH
  1. To install gems into GEM_HOME
bundle install
  1. Serve the website with the following command,
bundle exec jekyll serve

You should be able to see the local website at http://127.0.0.1:4000

Mac OS

To be able to build the site locally, you need Homebrew installed. Please follow this link to install Homebrew

  1. Clone this repository (you need git installed).
git clone https://github.com/gdgpisa/gdgpisa.github.io.git
cd gdgpisa.github.io/
  1. Open your terminal and install ruby, jekyll and bundler (skip the related command if you already have the package installed).
brew install ruby
sudo gem install jekyll
sudo gem install bundler
  1. Serve the website with the following command
bundle exec jekyll serve

You should be able to see the local website at http://127.0.0.1:4000/.

Windows

You must have git for windows installed in your system.

  1. Download and install Ruby and Rubygems using rubyInstaller for windows

  2. Using git bash, clone this repository.

git clone https://github.com/gdgpisa/gdgpisa.github.io.git
cd gdgpisa.github.io/
  1. On your terminal install jekyll and bundler
gem install jekyll bundler
  1. Serve the website with the following command
bundle exec jekyll serve

You should be able to see the local website at http://127.0.0.1:4000/.

Docker

  1. Be sure to have Docker installed on your local machine
Ubuntu
sudo apt-get install docker

ArchLinux
sudo pacman -S docker
  1. Clone this repository (you need git on your machine)
git clone https://github.com/gdgpisa/gdgpisa.github.io.git
cd gdgpisa.github.io/
  1. Run a Docker container with jekyll/jekyll image and serve the site
docker run --rm -it \
-p 4000:4000 -v "$PWD":/srv/jekyll \
jekyll/jekyll jekyll serve

You should be able to see the local website at http://127.0.0.1:4000

This command will download the jekyll/jekyll image from Docker Hub and build a container from that image.
Container port 4000 is linked to localhost:4000, so that you can access the site from that address.
Every time this container is executed, it'll automatically do a bundle install, thus retrieving all Gem dependencies before building and serving.

Writing a post ๐Ÿ“

To add a new post to the blog page, you need to create a new file in the _post folder. Please follow the naming of the file, like:

2017-10-10-hello-world.md

The structure of the blog post file should be as following:

---
layout: post
title: <TITLE OF YOUR BLOGPOST>
date:   <DATE OF YOUR BLOGPOST LIKE '2017-10-10 13:50:39'>
categories: <LIST OF SPACE SEPARATED CATEGORIES>
---

<BODY OF YOUR BLOGPOST>

Updating the feedback form shortlink โ†ช๏ธ

We are using a dynamic shortlink for the events feedback form. The shortlink is http://bit.ly/gdgfback. To change the destination of the shortlink please edit the feedbackform.md file:

---
layout: page
redirect_to: "http://example.com"
permalink: /feedbackform/
---

And change the redirect_to field to the desired one.

Updating the Service Worker โš™

Before committing an update in this repo, you should install Workbox CLI and update the Service Worker. To update it correctly, run workbox generateSW static/js/workbox-config.js from your shell in the root of this repo.

โš ๏ธ In case of error during the generation

If during the generation appears an error of invalid configuration, edit static/js/workbox-config.js and remove the key ignoreURLParametersMatching and its values.

Website Structure ๐Ÿ—บ

Here a short description of the project structure:

Contributing ๐Ÿค

Feel free to contribute to this project! You can have a look at our Contribution guidelines if you don't know how to proceed.

Feel free to open a issue or submit a new pull request โค๏ธ

Here a short TODO list:

  • Create the hall of fame page.
  • Writing Linux setup steps to this Readme.
  • Writing Windows setup steps to this Readme.
  • Fix naming issues (mix of - and _ in file naming).
  • Clean-up the static folder.

License ๐Ÿ“„

This project is licensed under the MIT License - see the License file for details

gdgpisa.github.io's People

Contributors

ar3s3ru avatar cortinico avatar davideginna avatar dependabot[bot] avatar dianaberna avatar domenicoblanco avatar giannigm avatar giobart avatar kiaruzza avatar leonardodipilato avatar mariagiovannarotundo avatar marveluck avatar thymbahutymba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gdgpisa.github.io's Issues

Meetup Icons are not consistent

Expected Behavior

Icons for the same social should be consistent across the website

Actual Behavior

Icons for meetup are not consistent in the navigation menu

Screenshot

screen shot 2017-11-06 at 9 01 53 am

Specifications

  • Browser: Chrome Version 62.0.3202.75 (Official Build) (64-bit)

Setup Google Analytics

In the _config.yml we have a specific section for Google Analytics.

# disqus_shortname: aboutashu
# google_analytics: UA-72862926-1

We must set up a Google Analytics account and make sure it works properly with the website.

Necessitร  nuovo plugin Jekyll

Ciao ragazzi, dovremmo integrare un plugin Jekyll per aggiungere il supporto della cache. Dato che il manifest per la webapp richiede per forza che la web app abbia anche un minimo di cache.
Ho trovato un plugin che si chiama Jekyll-offline, lo ho aggiunto al Gemfile ed al _config.yml, qualcuno saprebbe installarlo?

Panico in pagina seminari

Quando il titolo di un seminario supera le 3 righe il "Rettangolo" si ingrandisce troppo e come potete vedere al momento, il modalitร  desktop crea del panico generale ahah

Fix naming issues

We have a mix of - and _ in file naming, it shouldn't be too difficult to fix

ERROR `/undefined/undefined' not found in Jekyll logs

Actual Behavior

The local Jenkins logs are reporting this error:

Configuration file: /Users/---/gdgpisa.github.io/_config.yml
Configuration file: /Users/---/gdgpisa.github.io/_config.yml
            Source: /Users/---/gdgpisa.github.io
       Destination: /Users/---/gdgpisa.github.io/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
                    done in 0.789 seconds.
 Auto-regeneration: enabled for '/Users/---/gdgpisa.github.io'
Configuration file: /Users/---/gdgpisa.github.io/_config.yml
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.
[2017-11-06 02:18:53] ERROR `/undefined/undefined' not found.

Steps to Reproduce the Problem

  1. Copy the website locally
  2. Start browsing

Specifications

  • Browser: Chrome Version 62.0.3202.75 (Official Build) (64-bit)
  • Tested locally on Jenkins 3.4.3

Balloons in the About page are too near

We should increase the spacing of the balloon page on the home page (About), the are really near each other.

Screenshot

screen shot 2017-11-06 at 9 11 00 am

Specifications

  • Browser: Chrome Version 62.0.3202.75 (Official Build) (64-bit)

Logo

Sarebbe possibile aggiungere il nostro logo per evitare di linkare i meta tag all'immagine di Facebook?
13412226_1557357057906184_386444102369726081_o

Telegram invitation link has expired

Hello to everyone, I would like to report an issue with the invitation link: https://gdgpisa.it/telegram -> https://t.me/joinchat/AE2yJT9ooApAO0JXmyIT2g

Expected Behavior

Join GDG Pisa telegram group.

Actual Behavior

Telegram displays an alert, signalling that the invitation link has expired.

Steps to Reproduce the Problem

  1. Click the telegram logo at the bottom of the homepage
  2. Open with the telegram app
  3. The alert is displayed

Screenshot

link-expired

Specifications

  • Telegram app on Android
  • Telegram app on Linux

External link should open on a new tab

We are missing target="_blank" on external links, we should update this to avoid people navigating out from the website.

Expected Behavior

External link should open on a new tab

Actual Behavior

External link open on the same tab

Steps to Reproduce the Problem

  1. E.g. Click on the Meetup link on the homepage

Specifications

  • Browser: Chrome Version 62.0.3202.75 (Official Build) (64-bit)

Bug responsive

Il sito web aggiunge un margine a destra nella versione mobile che porta ad un movimento orizzontale ed uccide il responsive e non solo (cit. Giovanni B.)

Bug Header

Visualizzando il sito in versione mobile, appare il menรน ad hamburger ma sotto l'immagine

Search bar issue

quando si cerca qualcosa che ha un link esterno ad esempio "Action on Google" viene semplicemente unito il link gdgpisa.it alla url del link venendo cosรฌ indirizzati ad una pagina che al caso ottimo รจ inesistente.
Nello specifico caso dell'esempio di cui sopra, si viene indirizzati alla pagina:
https://gdgpisa.ithttps//www.meetup.com/GDG-Pisa/events/244273880/

che ovviamente non esiste.

SSL

All'apertura del sito, Safari su macOS Sierra (penso lo faccia anche Chrome) avvisa che la navigazione non รจ sicura. Penso che il problema sia il certificato SSL

[README.md] Adding Docker instructions for local building

Jekyll requires different stuff in order to be used (e.g. Ruby and Gems).
For those (like me :D) who don't like to install the whole Jekyll package and its dependencies, a Docker one-shot ephemeral container works just fine for local building.

To build using jekyll/jekyll Docker image, use this command:

docker run --rm -it \
-p 4000:4000 \
--volume "/absolute/path/to/site/repo":/srv/jekyll \
jekyll/jekyll jekyll serve

Adding this method in the README.md would be great.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.