Skip to content

Commit

Permalink
add a ntoe
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherChudzicki committed Dec 3, 2024
1 parent 6c45c99 commit 5e07a44
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is a frontend for the [Unified Ecommerce](https://github.com/mitodl/unified

## Initial Setup

First, ensure that you have the [Unified Ecommerce Bakend](https://github.com/mitodl/unified-ecommerce) up and running locally. Then:
First, ensure that you have the [Unified Ecommerce Bakend](https://github.com/mitodl/unified-ecommerce) up and running locally.

### Configure Required Environment Variables

Expand All @@ -26,3 +26,7 @@ You can run the app outside of docker. This may be faster and more convenient. T
2. A NodeJS runtime; [`nvm`](https://github.com/nvm-sh/nvm) is a simple tool for managing NodeJS versions.

With that done, `yarn start`, `yarn install`, and visit http://uefe.odl.local:8072

## Accessing the Application

The Unified Ecommerce backend uses same-site cookies for authentication. Therefore, the frontend client must run on the "same site" as the backend. Therefore, if the backend runs on `ue.odl.local:8073`, you **must** access the frontend on at a hostname such as `uefe.odl.local` (or `*.odl.local`), _not_ `localhost`.

0 comments on commit 5e07a44

Please sign in to comment.