diff --git a/.gitignore b/.gitignore index 185e66319..636f5007b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .DS_Store node_modules /dist +tempKey.js # local env files .env.local diff --git a/.travis.yml b/.travis.yml index 4442604fa..d7259a3b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,17 @@ language: node_js node_js: - - "4.0" + - "10.15.2" script: - echo "Deploying" -install: + +before_script: - npm install -g firebase-tools -after_success: + - npm install -g @vue/cli@latest + - npm install + +script: - npm run build -after_success: - - firebase deploy --token $FKEY \ No newline at end of file + +after_success: + - firebase deploy --token $FKEY + diff --git a/README.md b/README.md index 40e136961..a916a8045 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build Status](https://travis-ci.org/Vrijraj/aura.svg?branch=master)](https://travis-ci.org/Vrijraj/aura) - + Standard Web App for GDG Communties.
[Demo](https://aura-client-master.firebaseapp.com/)
@@ -27,20 +27,17 @@ The template is created by [GDG Jalandhar](https://meetup.com/GDG-Jalandhar/) te ## Getting Started 1. [Fork repository](https://github.com/Vrijraj/aura/fork) and clone it locally 1. Install project dependencies: `npm install` +1. Find the [Meetup API Key](https://secure.meetup.com/meetup_api/key/) and paste it [here](/src/config/key.js), also replace the chapter URL from `Meetup.com/[gdg-chapter-url]` 1. Compiles and hot-reloads for development: `npm run serve` -1. Update [Firebase Web Setup & Basic Info](/public/index.html), [manifest.json](/src/manifest.json) and [Resources](/src/assets/data) +1. Update [Firebase Web Setup & Basic Info](/public/index.html), [manifest.json](/public/manifest.json) and [Resources](/src/assets/data) +1. For the production: `npm run build` and then one dir will be created `dist` +1. For testing: `npm run test` + +## Deploy your Web App on Firebase + 1. Setup Environment for the Firebase deployment * Install Firebase CLI: `npm i -g firebase-tools` or `yarn global add firebase-tools` 1. Create [Firebase account](https://console.firebase.google.com) and login into [Firebase CLI](https://firebase.google.com/docs/cli/): `firebase login` -1. Update `.firebaserc` file - ```js - { - "projects": { - "default": "Your_Firebase_Project_ID" - } - } - ``` - 1. Open Terminal/CMD/Powershell in your dir. 1. Now type `firebase login` command in your Terminal/CMD/Powershell. 1. Type `firebase init`. @@ -49,13 +46,13 @@ The template is created by [GDG Jalandhar](https://meetup.com/GDG-Jalandhar/) te 1. Click `No` for Single page web app. 1. Type `dist`. 1. Some by default file will be created successfully. -1. Move the cloned source file in `dist` dir. 1. Run locally * `firebase serve` or `npm run serve` or `yarn serve` 1. Build and deploy * `firebase deploy` or `npm run deploy` or `yarn deploy` + ### Run your tests 1. For Test: `npm run test` diff --git a/src/components/about/aboutGDGChapter.vue b/src/components/about/aboutGDGChapter.vue index bd611ac0c..80e7f08b0 100644 --- a/src/components/about/aboutGDGChapter.vue +++ b/src/components/about/aboutGDGChapter.vue @@ -23,10 +23,10 @@

{{chapterDetails.aboutGDGProgram}}

- Become a Member + Become a Member   - Learn More + Learn More diff --git a/src/components/events/upcomingEvents.vue b/src/components/events/upcomingEvents.vue index 971bd8bda..254a71333 100644 --- a/src/components/events/upcomingEvents.vue +++ b/src/components/events/upcomingEvents.vue @@ -119,7 +119,6 @@ export default { this.showData = true this.showData1 = true this.eventsData = res - console.log(res) }) }, filters:{ diff --git a/src/components/home/HomeStartScreen.vue b/src/components/home/HomeStartScreen.vue index 7ab37fe05..f846f181d 100644 --- a/src/components/home/HomeStartScreen.vue +++ b/src/components/home/HomeStartScreen.vue @@ -29,11 +29,11 @@

- Become a Member + Become a Member   - Learn More + Learn More diff --git a/src/components/home/eventshowcase.vue b/src/components/home/eventshowcase.vue index 5d71e0be4..cacdf7d15 100644 --- a/src/components/home/eventshowcase.vue +++ b/src/components/home/eventshowcase.vue @@ -6,7 +6,7 @@

At sessions that span from the technical to the visionary, let’s celebrate and discover what the technologies can enable: how product innovation, open source, and ML and AI can propel enterprises forward and solve the big problems that impact all of us.

- See More + See More @@ -110,7 +110,6 @@ export default { }, created(){ fetch('https://cors.io/?https://api.meetup.com/'+MeetupAPI.urlname+'/events?desc=true&photo-host=public&page=4&status=past&key='+MeetupAPI.apiKey).then(data=>data.json()).then(res=>{ - console.log(res) this.showLoader = false this.showData = true this.eventsData = res diff --git a/src/config/key.js b/src/config/key.js index 6e3389e5e..22080e0f7 100644 --- a/src/config/key.js +++ b/src/config/key.js @@ -1,4 +1,4 @@ export const MeetupAPI = { - apiKey : "674a5ab597d951c31467e6c502b60", + apiKey : "", urlname: "GDG-Jalandhar" } \ No newline at end of file diff --git a/src/views/Contact.vue b/src/views/Contact.vue index 83ff152ba..9b4799ba0 100644 --- a/src/views/Contact.vue +++ b/src/views/Contact.vue @@ -53,11 +53,9 @@