Skip to content

madgeek-arc/Statistic-chart-generator-Admin

Repository files navigation

Getting Started for Development

These instructions will get you a copy of the project up and running on your local machine for development purposes.

Get Angular

npm install -g @angular/cli

Clone the project

Clone the project in a local folder.

git clone https://github.com/madgeek-arc/Statistic-chart-generator-Admin.git

Install project dependencies

Use the npm install command on the root folder of the cloned project, to install project dependencies.

Quick Start

From the root folder get the project up and running with npm start, listening to localhost:4200.

ℹ️ By simply calling npm start you are using the default environment described in environment.ts.

Guide to the project environments

In the environments folder are defined different production and development environments.

Back-end related environment variables

  • apiUrl : Describes the base URL where the Back-end api resides.

  • apiFolder : Describes an extension URL as a suffix to the apiUrl

💡 For a back-end residing at https://web.point/to/back/end , the variables would be set as such :

  • apiUrl : https://web.point

  • apiFolder: /to/back/end

Front-end related environment variables

  • showSchemaObject : A flag controlling whether the underlying JSON data representation of the form is visible. Use it for development reasons only.

  • showErrors : A flag controlling whether the form errors are visible.

Build related environment variables

  • production : A flag used to silence logs when truthy. Used in production.

Using preset back-ends

ℹ️ Each preset back-end URL has a specific file where its environment variables are described.

| Back-end | Environment variables file |

| ----------- | ----------- |

| http://88.197.53.71:8180| environment.back-end-vm.ts|

| https://beta.services.openaire.eu| environment.beta.ts|

| https://stats.madgik.di.uoa.gr/stats-api| environment.madgik.ts|

| http://localhost:8200| environment.localhost.ts|

For Development

Serve the project locally, listening to the following preset back-ends :

For Build

Build the project to listen to the following preset back-ends :

About

The Admin Angular app for the Statistic chart generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published