Comment déployer une application symfony sur Heroku!

# 🌐 Projet Front-Back End Easy_Admin_YouTube_NewsLetter_Firebase![GitHub](https://github.com/vertingo/Easy_Admin_YouTube_Newsletter_Firebase)
=======================

Front:
Vertin Go Website Design By Mobirise(http://mobirise.com) + Front File Manager

Back end:
Api YouTube + FireBase(Push Notification) + NewsLetters + File Manager

#### Illustrations

Front-End

————————————

————————————

#### Ci-dessus tous vos fichiers upload sur le file manager regroupés sous forme de carousel automatique!

————————————
————————————
————————————
————————————
————————————
————————————
————————————

Ci-dessous un aperçu de la page Playlist Youtube généré automatiquement une fois votre compte synchronisé avec YouTube!

Back-End

————————————
————————————
————————————
————————————
————————————
Personnaliser votre Panel Football LiveScore en choississant votre championnat, joueur et club favori!
————————————
————————————
————————————
————————————
————————————
————————————
————————————
————————————
————————————
————————————

#### Installation Localement avec Xampp

Prérequis:

– *Gestionnaire de commande composer with xampp! ==> https://www.youtube.com/watch?v=v7uCji-WhjY

Une fois xampp installé il faut lancer le serveur apache et mysql illustré ci-dessous:

Assurer vous que les références à votre base de donnée sont bien renseignés dans parameters.yml.dist et parameters.yml. A priori les valeurs sont déjà correct pour l’environnement de dev! A noter qu’il faut bien distinguer config_dev.yml et config_prod.yml qui comme son nom l’indique sont deux fichiers de config propre à leur environnement dans lequelle l’application évolue! Soit local pour config_dev.yml et en ligne config_prod.yml!

Cliquer sur admin pour accéder à l’interface phpMyAdmin:

Une fois vos bases de données recréés elles seront accessibles dans PhpMyAdmin!

Pour les recréer voir les commandes ci-dessous:

composer install
php bin/console doctrine:database:create (Ou créer la base de donnée easy_admin directement dans phpmyadmin)
php bin/console doctrine:schema:create (Création des tables dans la base de donnée easy_admin)
php bin/console fos:user:create name test@example.com password (Utilisation du bundle fosuserbundle)
php bin/console fos:user:promote user ROLE_ADMIN (Afin de vous logger sur l'interface admin)
Page de login de l'admin interface ==> http://localhost/easyadmin-master/web/app_dev.php/login
Page de front interface ==> http://localhost/easyadmin-master/web/app_dev.php/intro

How to deploy on Heroku
Prérequis avant la phase de déploiement:Ajout des lignes suivantes dans le front controller de prod donc app.php dans le dossier web:

Request::setTrustedProxies(array($request->server->get(‘REMOTE_ADDR’)));
Request::setTrustedHeaderName(Request::HEADER_FORWARDED, null);
Request::setTrustedHeaderName(Request::HEADER_CLIENT_HOST, null);

Ajout d’un fichier procfile avec le contenu suivant spécifique pour les applications symfony dans le dossier web:web: vendor/bin/heroku-php-apache2 web/Ajouter une extension postgre pour la persistance des données:

Cliquer sur votre extension dans le sous menu du champs recherche:

Rendez-vous ensuite sur settings:

Aller sur view credentials:

Les différents champs doivent être ajouter dans le parameters.yml et parameters.yml.dist dans app/config dans les variables d’environnements prod donc database_host_prod. Pour database_host_mandanta et b il faut ajouter une fois de plus la même extension postgre! Il faut également préciser la variable d’environnement database url dans composer.json disponible une fois l’ajout de l’extension postgre effectué:

"incenteev-parameters": {
"file": "app/config/parameters.yml",
"env-map": {
"database_url": "DATABASE_URL",
"database_url2": "HEROKU_POSTGRESQL_BLUE_URL",
"database_url3": "HEROKU_POSTGRESQL_ONYX_URL",
"monolog_action_level": "LOG_LEVEL"
} }

Commande de Déploiement:
Prérequis installation des gestionnaires de commandes:
– *Git!(Git Cli)
– *Composer!(Composer Cli)
– *Heroku!(Heroku Cli)

Créer un projet sur Heroku, installer le gestionnaire de commande Heroku en local et taper les commandes suivantes:

heroku login
heroku create (Créer un nom d'app aléatoire sinon créer la sur Heroku directement!)
heroku git:remote -a nom_de_votre_app_heroku
heroku config:set ENV=PRODUCTION
git add .
git commit -am "make it better"
git push heroku master

Une fois déployé sur le serveur Heroku:
Il faut recréer la base donnée en se connectant à distance sur le terminal du serveur:

heroku run bash
php bin/console doctrine:schema:create (Création des tables dans la base de donnée easy_admin)
php bin/console fos:user:create name test@example.com password (Utilisation du bundle FosUserbundle)
php bin/console fos:user:promote user ROLE_ADMIN (Afin de vous logger sur l'interface admin)
Page de login de l'admin interface ==> https://platform-media.herokuapp.com/login
Page de front interface ==> https://platform-media.herokuapp.com/intro

Suppléments de configuration pour la connexion à YouTube:Créer un projet dans Google Cloud Console! Activer YouTube Data Api V3Cliquer sur créer des identifiants Id Client AuthOrigines JavaScript autorisées:
– http://votre_heroku_app.herokuapp.comEt URI de redirection autorisés:
– http://votre_heroku_app.herokuapp.com/admin/dashboard/
– http://localhost/easyadmin-master/web/app_dev.php/admin/dashboard/Une fois la clé créé copier coller cette clé puis renseigné la dans web/youtube:
– auth.js ligne 5
– analytics_codelab.js ligne 4

Ensuite si votre connexion via Google est bien configuré loger vous sur votre Interface Admin afin de synchroniser votre compte avec YouTube et ensuite accédez à la page: https://votre_heroku_app.herokuapp.com/listplaylist?pseudo=votre_nom_d_utilisateur
Voici l’exemple de ma page playlist automatiquement généré une fois connecté sur mon espace administrateur et la connexion établi via YouTube Api V3: https://platform-media.herokuapp.com/listplaylist?pseudo=vertingo

Ci-dessous la page Playlist Youtube généré une fois synchronisé avec YouTube!

#### Synchroniser avec l’application mobile:

– Des fichiers uploads sur le File Manager.
– Des vidéos et playlist de votre chaîne YouTube.
– Google Cloud Messaging pour réception de notification push. Ci-dessous illustration de la synchronisation avec l’application mobile TopsiteApp et réception de notification push!

Toplink your viral tool to spread your referral links!

Accueil » Archives pour vertingo

 Viralize yours links!

Viral TopListe Net Business Rating

In this post i would like to introduce you a way to make yours links viral.

This way is called toplinks and you can use it in your netbusinessrating account.

– Your TopLink allows you to display on a page in your name your favorite sites in the maximum limit of 5.

– You simply need to indicate for each link: URL, site name and a banner (optional)

– Refer on 5 levels

– Your downline automatically broadcast on there TopLink the first site of your TopLink

 

In brief this Toplink is a viral tool to spread your referral links!

 

Your referrals are displaying your link number 1 so more you refer on NBR, more your links will be displayed. With 5 referral levels, every thing can go very quickly!

 

 > To broadcast your TopLink on a large scale :
– Send the link to your TopLink by mail to your friends.
– Post a link to your TopLink on the forums that you are using (and also put the link in your signature for example).
– Talk about your TopLink to everyone on your blog, for example, or on other blogs / sites.

       Create my account and start making my business more viral!

 

Comment ajouter le SDK Facebook à votre application Android!

Ajout du SDK Facebook + Bouton de partage!

1)Importation du SDK à votre projet Android!

Télécharger le SDK à l’adresse suivante : https://developers.facebook.com/docs/android/downloads/?locale=fr_FR

Dézipper le contenu et dans votre projet Android en sélectionnant le dossier app + clic droit dans votre arborescence de votre projet à gauche! Faites New → Module → Import an existing JAR package → Sélectionner le fichier .JAR du SDK télécharger normalement appelé :

facebook-android-sdk4.26.0

Android_Library

Ajout du SDK Facebook + Bouton de partage!

Après l’importation de votre library .JAR aller sur File → Project Structure

Project Structure
Et dans Module App Dependencies indiquer les chemins vers le fichier .JAR spécifier à l’étape précédente !

Project Structure Dependancy

Ajout du SDK Facebook + Bouton de partage!

2) Ajout des dépendances dans votre projet et importation des packages sdk Facebook !

Dans votre fichier build.gradle (Module : app)

Ajouter repositories{ mavenCentra() } dans repositories au dessus de dependencies:

Ajouter également dans dependencies: compile ‘com.facebook.android:facebook-android-sdk:[4,5)’

Importer les packages suivant dans votre class ou vous souhaitez configurer une connexion via facebook par exemple:

import com.facebook.FacebookSdk;

import com.facebook.login.LoginResult;

Ajout du SDK Facebook + Bouton de partage!

Ajout dans le fichier Android Manifest:

<uses-permission android:name= »android.permission.INTERNET » />    

<meta-data    android:name= »com.facebook.sdk.ApplicationId »    android:value= »@string/facebook_app_id » />    

<provider    android:name= »com.facebook.FacebookContentProvider »    android:authorities= »com.facebook.app.FacebookContentProvider{fb_app_id} »    android:exported= »true » />    

<activity    android:name= »com.facebook.FacebookActivity »    android:configChanges= »keyboard|keyboardHidden|screenLayout|screenSize|orientation »    android:label= »@string/app_name » />    

<activity    android:name= »com.facebook.CustomTabActivity »    android:exported= »true »>    

<intent-filter>        <action android:name= »android.intent.action.VIEW » />        

<category android:name= »android.intent.category.DEFAULT » />        

<category android:name= »android.intent.category.BROWSABLE » />  

 <data android:scheme= »@string/fb_login_protocol_scheme » />    </intent-filter>    </activity>

Ajout du SDK Facebook + Bouton de partage!

Ajout dans les ressources strings !

<string name= »facebook_app_id »>votre_app_id</string>

<string name= »fb_login_protocol_scheme »>fb|votre_app_id</string>

Ajout du SDK Facebook + Bouton de partage!

3)Générez une clé de hachage et renseigné la sur votre gestionnaire d’application sur votre compte Facebook afin d’établir un lien fiable entre votre application et Facebook!

(Taper cmd dans le champs recherche + Ctrl + Shift + Entrée et placez-vous dans le dossier : C:\Program Files\Java\jre1.8.0_144\bin avec l’outil keytool illustrer ci-dessous afin d’exécuter les commandes de génération de clé de hachage!)

keytool
Continue reading « Comment ajouter le SDK Facebook à votre application Android! »

Reference your activity online with TopSite(The Advertiser)!

The Advertiser

Advertiser

Our solutions

Promote your Facebook page!

Hosted your documents online and

add downloads! (Pdf, Doc, Gif, etc)

Add video You Tube!

AdvertiserAdvertiserAdvertiser

Our methods of broadcasts

Add a website, an advertisement in TopSite or TopAd, place your banners in rotation with the banner rotations campaigns.

Add a Facebook page , and display for a period of 1 week, 2 weeks, 1 month …

Upload of Document (pdf, doc, zip, etc ..) and download by adding your credits ..

-Share websites and advertisements and earned credits based on the ranking of the site or ad ..

-Launch the bar Autosurf and earned 5 credits per site or ad visited ..

Add your videos YouTube in TopVideo ..

-Be also notified on Facebook when someone visit, download, and share your opportunities!

Be also notified of your advertising perfomance!

Advertiser

discover >>

Sign-up with Facebook below!
Earn Credits

Share your activity you have the opportunity to earn credits and use them to increase your ranking in TopSite, TopAnnonce, TopVideo and obtain the benefits in terms of broadcast, but also to get clicks etc …
– the section earn credits that can earn you up to 30 credits per visit on a banner ad or + bonus opportunities send by email allowing you to earn up to 50 credits per visit.
– the voting section that allows you to win 5 credits per vote.
– the sharing section that allows you to earn 30 credits by sharing + bonus opportunities send by email allowing you to earn up to 40 credits per share.(Illustrate below)

Advertiser  ===>     Advertiser
– the Surf bar where you can earn 5 credits per visit .
– the sponsorship which allows you to earn 20 credits for each click on your link and 800 credits at registration.
– If you do not have time for these settings, you also have the option to buy credits at a very low prices.

discover >>

Sign-up with Facebook below!

Valentus Review – The MLM Company

Valentus Review – The MLM Company

Valentus Review – The MLM Company

Valentus product range

Based in Canada, Valentus is a Multi-Level Marketing company owned by Dave Jordan (That guy on the left) which focuses on functional beverages as their product line.

If you’ve never heard of functional beverages before, simply put they are drinks that have supplements that helps give your body added benefits such as lose weight or immune boost.

Their products are all instant drinks whereby you need only to mix with water to be able to drink it fast.

Speaking of products, Valentus have in overall 4 products altogether…

   Watch the video presentation about Valentus

You must know that if you decide to join Valentus by the Vertin Go Website’s link, we won’t abandon you. You will receive step by step all the instructions and tools you need to succeed with Valentus so join us by the link above you won’t regret this.

 Good Points

 Unique Lead Generation System:
Sales leads are generated from Valentus’s founder’s contacts that he developed over time as a successful eBay seller. No other MLM companies are known to provide this type of system.
Valentus has many benefits to their multi-level marketing. The company’s main benefit is their option of natural products, free from chemicals.  In addition, Valentus products help with increased mental focus along with weight loss.

For Distributors, Valentus has a great training system. Distributors are given a step-by-step training and several business tools to help them with their new business venture.  Also, Distributors have the ability to receive a 25% commission on sales.  But the best feature of Valentus is their unique lead generation system, providing Distributors with qualified leads.

Natural Products:
Valentus products are all natural and free from chemicals or harmful ingredients, containing only 4 grams of sugar from fruit.

Additional Health Benefits:
Besides weight loss, Valentus claims that their product line helps increase mental focus and alertness and elevate overall mood.

 

 Bad Points

High Beginning Costs:
The cost to join Valentus as an Independent Distributor is between $59.95-$499, depending on the Product Pack purchased. There is also a $20 one-time activation fee, but no annual renewal fee.

No Proven Financial Viability:
Valentus is new to the multi-level marketing industry and has yet to prove its financial viability. Proceed with caution until Valentus has time in the industry to prove itself as legitimate.

 Valentus – The Compensation Plan

In the Valentus compensation plan, you can get paid in 4 ways.

1) Fast Start Bonus (Up to $100)

2) Retail Commissions (25%)

3) Binary Commissions (Up to $100,000 per Week)

4) Matching Binary Commissions (7 Generations Starting at 25%)

5) 1% Global Volume Shared Enrollment Pool

6)  Car Bonus ($400-$3000 per month)

7) Legacy Coded Bonus ($100 unblocked to unlimited levels)

Below, I actually posted some videos of the compensation plan done by Dave Jordan.

Now before you watch them I want to let you know that I do NOT endorse these videos, it’s for education purposes only.

  Watch the video presentation about Valentus

You must know that if you decide to join Valentus by the Vertin Go Website’s link, we won’t abandon you. You will receive step by step all the instructions and tools you need to succeed with Valentus so join us by the link above you won’t regret this.

Featured Details

Industry Type

  • Valentus is in the Nutritional Supplements industry.
  • The company did not make the Top 100 MLM Companies for 2015 list on the Direct Selling News website.

Sign Up Cost:

  • $59.95-$499 Product Pack Purchase plus a $20 one-time activation fee

Renewal Cost: None

Patent Products

Prevail Trim

Prevail Immune Boost

Product Distribution

  • Distributors receive a 25 percent commission on product sales as well as other financial incentives.
  • Distributors must maintain a 50 BV minimum monthly to qualify for commissions.

Company Selling Points

In Latin, the word “Valentus” means “prevail,” defined as proving to be superior in strength, power, and influence. Recognizing that, we couldn’t have picked a more fitting name for a company that strives to be the example in an industry that deserves a leader to follow.

Since day one, our focus, our passion, and our commitment have been to create a company, a product line, and an opportunity built on a foundation of integrity. From creating significant levels of income, to building strong networks, healthy long-lasting relationships, making new friends, participating in activities you never even knew existed, having the time to do the things you love with the people you love to be with, VALENTUS can help you PREVAIL in ALL of your goals!

Traffic Hurricane Strategy How to Get Steady Traffic

Traffic Hurricane Strategy How to Get Steady Traffic: ==> Join the Traffic Hurricane!

In this post, I’m going to specifically cover my exact Traffic Hurricane strategy and how to get steady traffic.  More specifically, how to get steady traffic that is free.  By free I mean using profits to keep purchasing more traffic.  More traffic means more business.  As marketers, we should always think about “how to reach more people” and I’m here to show you my Traffic Monsoon strategy and how you can do that with this exchange.

Strategy

The first place I would start is the ad packs.  All daily profits are based on the daily sales of the company.  At this current point each ad pack is bringing in $1 per day through the rev share.  This is not a guarantee.  This is just what’s happening now as Traffic Hurricane is now getting over 3,000 new members every day.

Traffic Hurricane packages

I would use the profits from the daily rev share and your ad packs to purchase different Traffic Hurricane packages each week.  The particular package I would get would be determined by the number of ad packs I have.

So, if I have 10 ad packs that would bring in approximately $10 per day (based on current numbers and this is not a guarantee).  This would bring in $70 per week.  $50 would go to pick up a new ad pack each week.  I would then buy a $9 traffic package ($9 for 5000 clicks) and then withdraw the remaining amount accrued and start over the next week.

You will soon understand that this is truly the most interesting part of Traffic Hurricane … In fact, unless you have some Web content needed to be enhanced, it is clearly on the “profit sharing” aspect that it’s likely to earn more money! ?
The principle at Traffic Hurricane is very simple: Buy coupons or advertising “packages” for $50. Traffic Hurricane will then repay you your funds with an added-value of 10 % within 2 months (to be exact; 55 days). You may also earn some money every hour, and the overall daily remuneration amounts to $1 for every active package, which is 2 % of the value of your returned package to a maximum level of 110 %. Beyond $55 can be generated from every package, this has been simply wiped out. The proposed hourly remuneration contributes a fantastic leverage effect.

I currently have 20 ad packs and am bringing in roughly $20 per day.  $20 per day or $140 per week.  I pick up 2 ad packs during the week as Monday thru Friday profits are reserved for picking up ad packs.  Saturday I take the $20 and pick up the 10,000 clicks for $16 traffic package and then take the rest (approx. $24, which is $20 earned on Sunday and the remaining $4 on Saturday) and withdraw this cash.

The above plan is working for me and to date I have got over 70+ sign ups and that number only is increasing each day as my videos, blogs, and traffic all grow on a daily basis.  The ultimate goal is to obtain freedom.

Why not use Traffic Monsoon to create your own economy and retirement plan?

CLICK HERE to enroll now!

A brief summary of Traffic Hurricane

  • Buy packages at $50
  • 10 ads to review each day
  • 1 dollar/package/ day over 55 days, amounts to 10 % of the value added.
  • Immediate payments on PayPal, Payza or Solid Trust Pay
  • A 10 % sponsorship commission on the first level
  • A Gmail address + 1 one account per IP

Traffic Hurricane is:

  • A means of achieving your financial independence!
  • A method to financially diversify!
  • A technique that makes you free!
  • A way to earn money while going for a walk with your family, while spending an evening at a restaurant, while you’re on your holidays, while you’re shopping and WHILE YOU ARE FAST ASLEEP ….

CLICK HERE to take the first step!

Gui Ted

 

Toplink your viral tool to spread your referral links

 Make yours links viral!

Viral TopListe Net Business Rating

In this post i would like to introduce you a way to make yours links viral.

This way is called toplinks and you can use it in your netbusinessrating account.

– Your TopLink allows you to display on a page in your name your favorite sites in the maximum limit of 5.

– You simply need to indicate for each link: URL, site name and a banner (optional)

– Refer on 5 levels

– Your downline automatically broadcast on there TopLink the first site of your TopLink

 

In brief this Toplink is a viral tool to spread your referral links!

 

 

Your referrals are displaying your link number 1 so more you refer on NBR, more your links will be displayed. With 5 referral levels, every thing can go very quickly!

 

 > To broadcast your TopLink on a large scale :
– Send the link to your TopLink by mail to your friends.
– Post a link to your TopLink on the forums that you are using (and also put the link in your signature for example).
– Talk about your TopLink to everyone on your blog, for example, or on other blogs / sites.

       Create my account and start making my business more viral!