#server #intel #intel-cache #command #initialization #ipfs #view

app intel_cache_server

IntelCache server

3 stable releases

2.0.0 Mar 4, 2022
1.1.0 Dec 29, 2021
1.0.0 Dec 19, 2021

#69 in #intel

GPL-3.0 license

14KB
145 lines

The IntelCache Server is the server that will interact with and server the backend Intel (Data) to clients via IcCommands, furnished by IcModules.

It works by translating input commands to corresponding module commands. To view available commands view the CORE and STORAGE READMEs.

Starting

If starting for the first time, initialize it with --init, otherwise just run the program without arguments. Make sure that IPFS is up and working when running the server.

Arguments

  • --init will initialize the server.
  • --export will export the backend SQL database (note, it will not pull large data which is stored in the local IPFS Share).
  • --import will import the backend SQL databse and use it as a new backend.
  • --teardown will delete the backend SQL database, it will not delete the stored IPFS data.
  • --testing will start on a testing port (64290).
  • --testing_export,--testing_import,--init_testing and --testing_teardown are the same commands ran under the testing port.

Dependencies

~20–33MB
~583K SLoC