Skip to content

A Professional Template for large GDG events. This project has been designed to continue to be your DevFest/IWD website solution without having to create a new site or Firebase project every year.

License

Notifications You must be signed in to change notification settings

GDG-Los-Angeles/DeLorean-v2

 
 

Repository files navigation

DeLorean Project - GDG DevFest/IWD/Event Website Template

This project was generated with Angular CLI and utilizes Firebase for Database, Storage, and Hosting to create a fully functional and customizable template for your Google Developer Group's DevFest/IWD/Event. This project has been designed to continue to be your Event website solution without having to create a new site or Firebase project every year. Simply update the Firebase node in the config and the site resets awaiting your next year's Event data. All the while preserving your previous year's data in the same Firebase project.

Live Demo

https://delorean-demo.firebaseapp.com/

Features

  • Simple site config setup
  • Simple event schedule management
  • Simple sponsor management
  • Simple ticket management
  • Simple speaker management
  • Featured speakers section
  • Featured venue section
  • "My Schedule" for Attendees
  • Google Tag Manager enabled
  • Session feedback
  • Code of Conduct

Table of Contents

Getting Started

  1. Install Angular CLI (npm install -g @angular/cli).
  2. Install Firebase Tools (npm install -g firebase-tools).
  3. Clone this repository: git clone https://github.com/neojato/DeLorean-v2.git.
  4. Run npm install from the project root.
  5. Create a new Firebase project (if you don't have one already).
  6. Grab a Google Maps API Key for your project.
  7. Run firebase login and then firebase init and link to your Firebase Project.
    • Select Database, Functions, and Hosting
    • Select your Firebase Project (created earlier)
    • Use default filename for Database Rules
    • Enter N when asked to overwrite Database Rules
    • Select JavaScript when asked for Cloud Functions language
    • Enter Y when asked to use ESLint
    • Enter N when asked to overwrite functions/index.js
    • Enter Y when asked to install dependancies
    • Type dist for your public directory
    • Respond yes to configure as a single-page app
  8. Replace the generated firebase.json with the contents from firebase.json.template
  9. Copy firebase.config.ts.template to firebase.config.ts and populate fields with your Firebase and Google Maps Keys.
    • Change the value for the devfestYear key to the current year
    • NOTE: Currently you will need modify this value annually to reuse this Firebase Project for your annual event
  10. Update manifest.json with your Event's details to enable Progressive Web App (PWA) capabilities.
    • (Optional) If you want to fully customize the PWA experience, you can easily generate the manifest.json & correctly sized app icons using this tool: App Manifest Generator

Contributing

This project is open for contributions, suggestions, and ideas. Feel free to submit a PR and/or create an Issue with bugs, suggestions, and ideas. Stars are always welcome too!

See list of contributors.

Development Server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Managing Data

Site Setup

  1. From the Firebase Console, go to "Authentication" and enable the Google sign-in method.
  2. Log into your site using your Google account.
  3. From the Firebase Console, go to "Authentication" and copy the User UID for your email address.
  4. From the Firebase Console, go to "Database", then "Real-Time Database" and create a parent node called admins then add your copied User UID as the key with a value of true.
  5. (Optional) Replace hero.png and devfest.png with your own image for your Event or of Your City.

Google Tag Manager Setup (Optional)

  1. Create an Account and a Container on Google Tag Manager.
  2. Once created, you will receive the tracking snippet.
    • Replace each instance of GTM-XXXXXXX within index.html with your tracking ID following the same pattern.
  3. Now you are able to create Tags for:

Site Config

  1. Click the Profile dropdown in the navbar and select "Site Config" to fill out all the details for your Event.
  • NOTE: The uploaded venue image is stored in Firebase Storage if you need to retrieve it later.

Ticket Config

  1. Click the Profile dropdown in the navbar and select "Ticket Config" to create ticket boxes to advertise levels available for purchase to your Event.
  • NOTE: The tickets auto-appear in a section on the homepage but can only be managed from this admin page.

Speaker Management

  1. Click the "Speakers" link in the navbar and then click on the "Create Speaker" button to add a speaker.
  2. Rinse and repeat for however many speakers you have for your Event.
  3. Check the "Featured" option to have that speaker also display on the homepage in the "Featured Speakers" section.
  • NOTE: The uploaded profile images get stored in Firebase Storage if you need to retrieve them later.

Schedule Management

  1. Click the "Schedule" link in the navbar and then click on the "Create Section" button to add a section.
    • This allows you to break your schedule into sections like "Breakouts - 10:00 AM" and "Lunch".
  2. Click on the "Create Session" button to add a session.
  • NOTE: It is required to have section(s) created in order for sessions to appear!
  • NOTE: It is recommended to have added the speaker prior to adding their session.
  • NOTE: You can Edit/Delete the session from the session's detail page.

Sponsor Management

  1. Click the "Sponsors" link in the navbar and then click on the "Create Level" button to add a level.
    • This allows you to break your sponsors into customized tiered levels like "Gold", "Silver", and "Bronze".
  2. Click on the "Create Sponsor" button to add a sponsor.
  • NOTE: It is required to have level(s) created in order for sponsors to appear!
  • NOTE: The levels and sponsors auto-appear in a section on the homepage but can only be managed from the Sponsor page.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Run npm run build-prod to generate an optimized production build.

Deploy

Run npm run deploy to generate an optimized production build and deploy the dist/ directory to Firebase Hosting (along with Firebase Real-Time Database rules & Firebase Functions).

Profit!

Congrats on launching your Event website!

Who uses the template?

Please let me know if you used this template with a Pull Request and will get you added to the list below!

Name Name Name
DevFest KC DevFest Muncie Windy City DevFest
DevFest Nairobi Eldoret Techweek IWD Fresno
DevFest Los Angeles Valley DevFest 2018

License

Project is published under the MIT license.
Feel free to clone and modify repo as you want, but don't forget to keep the reference to original authors, thanks!

The DeLorean Project is not endorsed and/or supported by Google, the corporation.

About

A Professional Template for large GDG events. This project has been designed to continue to be your DevFest/IWD website solution without having to create a new site or Firebase project every year.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 53.1%
  • TypeScript 42.3%
  • CSS 3.4%
  • JavaScript 1.2%