Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

122 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASLearner Website

An American Sign Language Learning app.

Contributing, Selh-Hosting, and Deploying

Setting everything up

  1. Fork the repository.

  2. Create and setup your own Firebase project.

  3. Configure Flutter for Firebase Web

    1. $ cd src
    2. $ firebase login
    3. $ dart pub global activate flutterfire_cli
  4. Setup Firestore and add some sample data with the following structure.

    1.  decks/
           <deckId>
               cardCount: int
               description: string
               title: string
               cards/
                   <cardId>
                       image: string
                       instructions: string
                       title: string
                       type: string="immutable"
       users/
  5. Setup Google Sign In Web

    1. Edit src/web/index.html and replace <meta name="google-signin-client_id" content="YOUR_GOOGLE_SIGN_IN_CLIENT_ID_HERE.apps.googleusercontent.com">.

Running the project

Debugging

  1. $ flutter run -d chrome --web-hostname localhost --web-port 7357

Deploying using docker

  1. Create a .env file
PROJECT_ID="YOUR_FIREBASE_PROJECT_ID_HERE"
FIREBASE_TOKEN="YOUR_FIREBASE_TOKEN_HERE" # Generated from $ firebase login:ci
  1. $ docker compose build
  2. Run the container with $ docker compose up -d
  3. Go to http://localhost:7357/ in browser.

Contributing

  1. Make your changes.
  2. Follow Conventional Commits standard.
  3. Submit a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Contributors

Languages