Comments (7)
It's postgres because I currently host it on Heroku (which has the best postgres support). Feel free to send a patch that uses MySQL in a different Gemfile group with some kind of config option (it shouldn't be too hard to make it work, as we're not using any big features of the DB).
Maybe we should just use Mongo ;).
from showterm.io.
mongo IS a good attribute/value key store db. I am a terrible developer but I will certainly take a look.
from showterm.io.
sqlite can be used by replacing
gem 'pg'
with
gem 'sqlite3'
in the Gemfile and construct a config/database.yml to match, ala
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
test:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000
I'm using this without issue thus far.
from showterm.io.
Awesome. Thank you.
from showterm.io.
Work fine with MySQL too
Replace
gem 'pg'
with
gem 'mysql2'
And adapt config/database.yml like this
production:
adapter: mysql2
encoding: utf8
reconnect: false
database: showterm
pool: 10
username: ******
password: "************"
development:
adapter: mysql2
encoding: utf8
reconnect: false
database: showterm_development
pool: 5
username: ******
password: "************"
test:
adapter: mysql2
encoding: utf8
reconnect: false
database: showterm_test
pool: 5
username: ******
password: "************"
from showterm.io.
Great! Could you please send a pull request to add docs to the bottom of the README?
from showterm.io.
done.
from showterm.io.
Related Issues (20)
- Doesn't show cursor HOT 4
- Option to delete uploads HOT 2
- Support Private share. HOT 3
- Make the cursor non-blinking HOT 1
- Support outputting static file bundle HOT 2
- Local Capture and Review -> Optional Remote Upload HOT 6
- Updated shell client HOT 1
- No test HOT 1
- Allows Slack embed
- Support RAILS_ENV=production HOT 2
- How to increase font size? HOT 1
- images doesn't load HOT 1
- Resume after pause is broken
- Keyboard shortcuts for playback control
- Docker Docs HOT 1
- Images not loading on production
- the first command is not played and timing is out of sync HOT 2
- // FIXME... just using 'j' leaves everything HTML escaped too HOT 2
- raw_json method alternative HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from showterm.io.