-
-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Background
The backend has a pending PR for the implementation of an admin dashboard using ActiveAdmin.
Everything works as desired locally, in development. Meaning:
- both the front and backends run together seamlessly
- the operation code website is accessible, as normal, via
http://localhost:4000/ - the ActiveAdmin UI is accessible, as desired, via
http://localhost:3000/admin/login
Issue
When the backend PR has been merged to prod for a trial, visiting https://operationcode.org/admin/login yields a 404. One idea is that the issue could be around the ports.
In development, the backend runs on port 3000, and the frontend on port 4000. ActiveAdmin runs off of Rails, on port 3000.
Perhaps we need some Docker (etc.) configuration, in order to work in prod?
Resources
In the ActiveAdmin Wiki, there is a tutorial on Rails 5 API + ActiveAdmin + Create React App, that might be helpful, as we also have a Rails API backend, with a separate React frontend.
This will likely need coordination/collaboration with the @OperationCode/back-end team at some point.