Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/magma-labs/til
Today I Learned Server Implementation
https://github.com/magma-labs/til
Last synced: about 1 month ago
JSON representation
Today I Learned Server Implementation
- Host: GitHub
- URL: https://github.com/magma-labs/til
- Owner: magma-labs
- Created: 2021-01-19T23:52:55.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T17:51:21.000Z (6 months ago)
- Last Synced: 2024-08-05T08:07:30.976Z (5 months ago)
- Language: Ruby
- Size: 29.6 MB
- Stars: 0
- Watchers: 32
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Open-Source-Ruby-and-Rails-Apps - til - Today I Learned MagmaLab's Server Implementation 🔥 🚀 (Happy Exploring 🤘)
README
# Magma-TIL
The heroku App in Prod Points to [til.magmalabs.io](https://til.magmalabs.io/)
[Production](https://magma-til.herokuapp.com/)### Install
Follow these setup steps:```sh
$ git clone https://github.com/magma-labs/til
$ cd til
$ gem install bundler
$ bundle install
$ cp config/application.yml{.example,}
$ rake db:create db:migrate db:seed
$ rails s
```In development, `db:seed` will load sample data for channels, developers, and
posts. Omit this command to opt-out of this step, or create your own sample
data in `db/seeds/development.rb`.```yml
Only accounts with @magmalabs.io emails are allowed```
### Testing
Run all tests with:
```
$ rake
```
Note: test suite has not been refactored# Not implemented for magma:
`slack_post_endpoint` allows the app to post to [Slack](https://slack.com/):```yml
# config/application.ymlslack_post_endpoint: /services/some/hashes
```