Giter Site home page Giter Site logo

yagnesh1998 / frontend-app-enterprise-public-catalog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openedx/frontend-app-enterprise-public-catalog

0.0 0.0 0.0 6.86 MB

A site for public browsing of enterprise catalogs, also called the Explore Catalog

License: GNU Affero General Public License v3.0

JavaScript 95.94% Makefile 0.96% HTML 0.25% SCSS 2.85%

frontend-app-enterprise-public-catalog's Introduction

Build Status Codecov license

frontend-app-enterprise-public-catalog

Introduction

This application is a public facing catalog page for use by edX consumers to find courses in catalogs before deciding to enroll.

The dev server is running at http://localhost:8735. The staging server is running at https://explore-catalog.stage.edx.org/.

Project Structure

The source for this project is organized into nested submodules according to the ADR Feature-based Application Organization.

Build Process Notes

Local Development

To run this project locally:

  1. Clone this repository

  2. From repository root folder, run:

    npm install

    Note: locally this app will default to open edX branding, so colors and formatting might look a little different than what will be deployed. To combat this, you can optionally run:

    npm install --save @edx/brand@npm:@edx/brand-edx.org

  3. This project requires Algolia developer keys. Once you have them, make the following local modifications to the .env.development file and replace the keys:

    ALGOLIA_APP_ID=''
    ALGOLIA_SEARCH_API_KEY=''
    ALGOLIA_INDEX_NAME=''
    
  4. You will also need to replace the following variables with valid Catalog Query Titles that are present in your Algolia index:

    EDX_FOR_BUSINESS_TITLE='' # default = 'Business'
    EDX_ENTERPRISE_ALACARTE_TITLE='' # default = 'A la carte'
    
  5. From repository root folder, run:

    npm start

    to start your local server at http://localhost:8735.

Helpful Testing Commands

  • npm run tests
  • npm run lint
  • npm run lint:fix to automatically fix errors

Production Build

The production build is created with npm run build.

Internationalization

Please see edx/frontend-platform's i18n module for documentation on internationalization. The documentation explains how to use it, and the How To has more detail.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.