Closed MaybeJustJames closed 3 years ago
Great work! Would be nice to have kinda dev
README.md
Added. Also added a Postman collection
I started to change "Project" to "Collection" when I realised that the name "Project" also works just as well for an "ad-hoc" collection of datasets as "Collection" does. It's just the concept that changes, rather than a "Project" being a rigid wall around a set of datasets its just an ad-hoc collection that can be.
This introduces no-op functionality into the existing SCope application. No "wiring up" has been done.
Users are identified by an integer that the client must store in a Cookie. Projects have 2 alternative identifiers: an integer and a uuid-v4. Both of these are generated on the server. Each project stores its size and creation date so that a cron job can clean up as necessary. This means that clients no longer need to poll the server.
To run the server in development configuration simply run the
./run-dev-env.sh
script. Note that the--reload
option has been removed because it interacts badly with the legacy server. Until the legacy server is removed you will need to manually kill and restart the development server when you modify the code.