2. Enable the service: `sudo systemctl enable shammer.service`
3. Start the service: `sudo systemctl start shammer.service`
4. Check if runs correctly: `service shammer status`
7. Shammer is now installed on your machine 🥳
## Configuration
The configuration for Shammer is stored in the `config.json` file in the project root directory. A default configuration is generated when running Shammer for the first time.
You must add all of the following attributes to `config.json`:
-`INDEX_URL`: URL of the website Shammer needs to start at.
-`MAX_CONTENT_LENGTH`: The maximum file size in bytes of a request. If the `Content-Length` header is provided with the response, Shammer will only download the full page is this value is below `MAX_CONTENT_LENGTH`.
-`REQUESTS_PER_MINUTE`: The *average* number of requests per minute. If set to `0`, Shammer won't sleep between requests.
-`HOUR_START`: The hour at which to start shamming.
-`HOUR_END`: The hour at which to end shamming.
To reset the configuration back to the default settings, simply delete `config.json` and run `./shammer` to create a new configuration file.