chat21 / chat21-ionic

A ionic v5 and Angular 8 desktop and mobile chat
https://tiledesk.com/
MIT License
83 stars 93 forks source link

How to configure correctly? #55

Closed ranaprathapthanneeru closed 4 years ago

ranaprathapthanneeru commented 4 years ago

Hi, I am new to Ionic framework. I am finding it difficult to figure out how to configure the chat21-ionic app in environment.ts on localhost.

  1. What should URL_DASHBOARD be set to here? I couldn't get where these paths are defined..so I tried using http://localhost:8100/dashboard/, http://localhost:8100/login/ etc. But it always says Cannot GET /dashboard/.
  2. What should chat21ApiUrl be set to?

Can someone please help me? I'm stuck here.

export const environment = {
   supportMode: true,
    URL_SEND_BY_EMAIL: 'CHANGEIT',
    FIREBASESTORAGE_BASE_URL_IMAGE: 'CHANGEIT',
    BASE_URL_HOSTNAME: 'http://localhost:8100/',
    URL_DASHBOARD: 'http://localhost:8100/login/',
    URL_PROJECT_ID: 'CHANGEIT',
    production: false,
    remoteConfig: false,
    remoteConfigUrl: '/firebase-config.json',
    firebaseConfig : {
    apiKey: 'CHANGEIT',
    authDomain: 'CHANGEIT',
    databaseURL: 'CHANGEIT',
    projectId: 'CHANGEIT',
    storageBucket: 'CHANGEIT',
    messagingSenderId: 'CHANGEIT',
    chat21ApiUrl: 'CHANGEIT'
}
}