Page MenuHomePhabricator

[docs][server] update dev environment docs to reflect changes to the url json files
ClosedPublic

Authored by varun on Mar 28 2022, 1:45 PM.
Tags
None
Referenced Files
F2906385: D3528.id10822.diff
Sun, Oct 6, 9:23 AM
F2905782: D3528.diff
Sun, Oct 6, 8:11 AM
Unknown Object (File)
Fri, Oct 4, 2:06 PM
Unknown Object (File)
Tue, Sep 17, 2:45 PM
Unknown Object (File)
Tue, Sep 10, 8:02 PM
Unknown Object (File)
Tue, Sep 10, 8:02 PM
Unknown Object (File)
Tue, Sep 10, 8:02 PM
Unknown Object (File)
Tue, Sep 10, 8:02 PM

Details

Summary

the server now expects two files called squadcal_url.json and commapp_url.json instead of just one app_url.json file. this diff updates the dev environment setup doc to reflect this change.

Test Plan

these are the instructions I followed to build the server locally.

Diff Detail

Repository
rCOMM Comm
Branch
varun/eng-893 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

varun requested review of this revision.Mar 28 2022, 1:55 PM

Since the dev environment doesn't need both of these, it would be great to simplify the setup and make it so these import calls don't fatal Node (by using dynamic await import calls wrapped in a try-catch). Then we wouldn't need to force the user to create two files. @varun, what do you think?

This revision is now accepted and ready to land.Mar 28 2022, 7:31 PM

add baseRoutePath to squadcal_url.json

In D3528#96431, @ashoat wrote:

Since the dev environment doesn't need both of these, it would be great to simplify the setup and make it so these import calls don't fatal Node (by using dynamic await import calls wrapped in a try-catch). Then we wouldn't need to force the user to create two files. @varun, what do you think?

creating a linear task in the backlog to track this