Since this project is written using Typescript, you need to transpile it.
You can run transpile.cmd to achieve that if you're on Windows and transpile.sh on Linux.
PS : You need typescript installed globally.
Go to your application's directory and run the following command :
adonis run:instructions path/to/adoscope/directory
Path must be valid and point to the directory where you cloned Adoscope repository.
After, you need to register the provider inside start/app.js
file in order to make use of it.
const providers = [
// ... Some providers you've registered before.
'path-to-adoscope-directory/dir/dist/providers/AdoscopeProvider'
]
Next, you need to register the middleware to ensure everything works as expected.
Inside start/kernel.js
file, add the following :
const serverMiddleware = [
// ... Some middleware you've registered before.
'@provider:Adoscope/App/Middleware/Authorize'
]
Finally, run the following command :
adonis migration:run
And now you can start using Adoscope.
When you visit a page or execute a query to database, it will be caught and stored into your database.
More to come soon.