Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qrush/skyway
Official news, tour, stats and community site for Aqueous
https://github.com/qrush/skyway
Last synced: about 1 month ago
JSON representation
Official news, tour, stats and community site for Aqueous
- Host: GitHub
- URL: https://github.com/qrush/skyway
- Owner: qrush
- License: mit
- Created: 2014-03-07T03:02:59.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-11-01T23:36:23.000Z (about 2 years ago)
- Last Synced: 2024-08-03T09:12:27.444Z (4 months ago)
- Language: Ruby
- Homepage: https://aqueous.band
- Size: 17.5 MB
- Stars: 22
- Watchers: 7
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-star - skyway
README
# Skyway
Official stats and community site for [Aqueous](https://aqueousband.com/).
## Setup (OSX)
Clone the repo, run `bin/setup`.
Once it's done, visit: http://localhost:3000
## Ops
### Plugins
* https://github.com/dokku/dokku-postgres
* https://github.com/rlaneve/dokku-link
* https://github.com/mordred/dokku-redirects-plugin
* https://github.com/jlachowski/dokku-memcached-plugin
* https://github.com/scottatron/dokku-rebuild### Rebuild
```
apt-get install nodejs postgresql-server-dev-all postgresql-client-9.3 unzip
cd /var/lib/dokku/plugins
dokku plugins-install
dokku postgresql:create aqueousband.com# Push app to dokku@IP_ADDRESS:aqueousband.com
dokku postgresql:link aqueousband.com aqueousband.com
psql -d db -h DB_ADDRESS -p DB_PORT < dump.sqldokku memcached:create aqueousband.com
dokku memcached:link aqueousband.com aqueousband.comdokku redirects:set aqueousband.com www.aqueousband.com=aqueousband.com www.aqueousband.net=aqueousband.com aqueousband.net=aqueousband.com
dokku config:set aqueousband.com ADMIN_PASSWORD=x AWS_ACCESS_KEY_ID=x AWS_SECRET_ACCESS_KEY=x S3_BUCKET_NAME=files.aqueousband.net S3_HOST_NAME=s3-eu-west-1.amazonaws.com
```### Tasks
Run a migration, ssh in and:
```
dokku run aqueousband.com rake db:migrate
```Sometimes memcached gets unhappy. If so:
```
dokku memcached:delete aqueousband.com
dokku memcached:rebuild aqueousband.com
dokku memcached:link aqueousband.com aqueousband.com
```Restarting/rebuilding container: `dokku rebuild aqueousband.com`
Backup:
```
dokku postgres:export aqueousband.com > now.sql.bak
```Restoring:
```
pg_restore -d skyway_development now.sql.bak
```### Updating Dokku
From http://progrium.viewdocs.io/dokku/upgrading but in case that goes away:
```
cd ~/dokku
git pull --tags origin master
sudo make installcd ~/buildstep
git pull origin master
sudo make build
```Might need to rebuild after that.
## Waveforms
Making some wave(form)s? Install this for Linux:
```
# install deps
sudo apt-get install make g++ libsndfile-dev lib-png++-dev libpng12-dev libboost-program-options-dev sox libsox-fmt-mp3 mp3info# install wav2png
git clone [email protected]:beschulz/wav2png.git
cd wav2png/build
make install# Move downloads over and wave it up
mv ~/Downloads/*.mp3 tmp/
./script/wav2png
```For mp3 length:
```
mp3info -p "%S\n" something.mp3
```## License
MIT. See `LICENSE`.