GithubHelp home page GithubHelp logo

yixin0829 / lp-generator Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 2.14 MB

Learning Path Generator

Home Page: https://learn-anything.ca

Python 9.87% HTML 1.68% CSS 3.64% JavaScript 61.60% SCSS 21.36% Dockerfile 1.86%
nlp gpt

lp-generator's Introduction

Learning Path Generator

1 Goal

Help people learn faster and more efficiently to reach their learning goal. LearnAnything's mission is to facilitate the consolidation of the world's knowledge sharing by creating a place where users can share their learning experiences and knowledge with others.

2 Overview

Why did we build LearnAnything? You might ask. Well, we want you to think of LearnAnything as more than just a learning path generator, but as an entry point for YOU to begin your learning journey on any topic that you could possibly imagine. Just as Mahatma Gandhi once said, "Live as if you were to die tomorrow. Learn as if you were to live forever."

3 How to Run

3.1 Without Docker

  • BE
    • Create venv (python 3.8) and install requirements.txt
    • Development mode: cd/server/app && uvicorn main:app --reload to start the local server
      • Comment out main:27-28 and comment main:31 to get env from local .env
      • Comment out main:123-125 if want to get mock response from json for testing FE (optional)
    • In production
      • Comment out main:31 and comment main:27-28 to get env from Lambda env configuration
      • Only include main.py and lib/ in zip file (exclude .env for best practice) when upload code to Lambda
  • FE
    • Install React and Node
    • cd/client/ && npm install --force otherwise dependency error
    • Comment out LearningPath.jsx:15 to fetch data from local server
    • npm start

3.2 With Docker

  • Note: Currently no live-reload so need to rebuild image to reflect code changes
  • Developement config
    • Comment out main:27-28 and comment main:31 to get env from local .env
    • Comment out main:123-125 if to get mock response from json (optional)
    • Comment out LearningPath.jsx:15 to fetch data from local server
  • Run docker compose up --build in root directory

4 Resources

lp-generator's People

Contributors

yixin0829 avatar jameskokoska avatar

Stargazers

 avatar Amelia Leow avatar  avatar

Watchers

 avatar

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.