adonis-spaces
Version:
Simplifies working with DigitalOcean Spaces through Adonis
16 lines (13 loc) • 648 B
Markdown
You must register the provider inside the `start/app.js` file by adding it to the `providers` Array:
```js
const providers = [
// ...
'adonis-spaces/providers/SpacesProvider'
]
```
Configuration is done through `config/spaces.js`. This file should have automatically been copied to your project during installation if you installed it via adonis-cli. If you installed it with npm or Yarn, or the file was not copied across correctly, you can manually copy the [config file](config/spaces.js) from this package or run the following command to create it:
```bash
adonis spaces:getconfig
```