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)
Tue, Jul 2, 6:08 PM
Unknown Object (File)
Wed, Jun 26, 4:57 PM
Unknown Object (File)
Wed, Jun 26, 4:57 PM
Unknown Object (File)
Wed, Jun 26, 4:56 PM
Unknown Object (File)
Wed, Jun 26, 4:56 PM
Unknown Object (File)
Wed, Jun 26, 4:37 PM
Unknown Object (File)
Wed, Jun 26, 11:05 AM
Unknown Object (File)
Tue, Jun 25, 10:07 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
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