Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chaosdorf/dashpi

Dashboard for Chaosdorf resources, realized with smashing
https://github.com/chaosdorf/dashpi

dashboard smashing

Last synced: about 10 hours ago
JSON representation

Dashboard for Chaosdorf resources, realized with smashing

Awesome Lists containing this project

README

        

# [Chaosdorf Dashboard](https://wiki.chaosdorf.de/Dashboard)

## Setup ##

For running this in production, we recommend [our docker image](https://hub.docker.com/r/chaosdorf/dashpi), see [our compose file](https://github.com/chaosdorf/docker-stacks/blob/main/enabled/dashpi.yml).

For development, we have included a sample compose file that builds the image locally
and loads the secrets from the `secrets` folder.

```shell
docker-compose up --build
```

If you don't want to use Docker for whatever reason, you're able to run it from source in both cases:

```shell
sudo apt install ruby ruby-dev build-essential git bundler
cd src
bundle install --path ../vendor/bundle # this installs the dependencies
bundle exec smashing start # this starts the application
```

This manual method also expects the secrets to be located in the `secrets` folder.

You might want to set `RACK_ENV` to `production`.

## secrets

For all widgets to work, you'll need to acquire a few secrets:

* `TWITTER_CONSUMER_KEY`
* `TWITTER_CONSUMER_SECRET`
* `TWITTER_ACCESS_TOKEN`
* `TWITTER_ACCESS_TOKEN_SECRET`

For a production environment you should also add:

* `SENTRY_DSN`
* `DASHING_AUTH_TOKEN`

## more details

Check out https://smashing.github.io/ for more information.