Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

130 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

U-M Battery Lab Inventory App

To Run Development

  1. Make sure Docker Engine is running.
  2. First time:
    bash scripts/setup.sh dev
  3. Make sure docker-compose.override.yml is present at the root of the project.
    If needed:
    mv ./-docker-compose.override.yml ./docker-compose.override.yml
  4. Run the app:
    docker compose up
    • If you will be setting up prod afterwards, make sure to run docker compose up at least once first.
      This will initialize the dev database the first time it is run.
  5. You can interact with the app container directly at http://localhost:3000 or via nginx at https://localhost.

To Run Production

  1. Make sure Docker Engine is running.
  2. First time:
    bash scripts/setup.sh prod
  3. Replace values in .env.local with secure secrets.
  4. Delete or rename docker-compose.override.yml:
    mv ./docker-compose.override.yml ./-docker-compose.override.yml
  5. Run the app:
    docker compose up
    • If you will be setting up dev afterwards, make sure to run docker compose up at least once first.
      This will initialize the prod database the first time it is run.
  6. View the app locally at https://localhost.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages