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
Unknown Object (File)
Wed, Nov 27, 6:30 AM
Unknown Object (File)
Wed, Nov 27, 4:34 AM
Unknown Object (File)
Wed, Nov 13, 12:44 PM
Unknown Object (File)
Sun, Nov 10, 12:11 AM
Unknown Object (File)
Sun, Nov 10, 12:11 AM
Unknown Object (File)
Sun, Nov 10, 12:11 AM
Unknown Object (File)
Sun, Nov 10, 12:03 AM
Unknown Object (File)
Tue, Nov 5, 1:24 AM

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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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