All Ruby talks in one place.
If you would like to contribute to the project please read the CONTRIBUTING.md
You can setup project with Docker(preferred way) or manually. First of all you need to clone the project:
git clone https://github.com/saintprug/rubytalks.org && cd rubytalks.org
Prepare database for development
and test
environments:
docker-compose run web bundle i
docker-compose up -d postgres
docker-compose exec postgres bash -c "createdb -U postgres rubytalks_development"
docker-compose exec postgres bash -c "createdb -U postgres rubytalks_test"
docker-compose run web bundle exec rake db:migrate
How to run tests:
HANAMI_ENV=test docker-compose run web bundle exec rspec
How to run the development console:
docker-compose run web bundle exec hanami c
How to run the development server:
docker-compose up hanami
You need to install Postgres and Redis for you operating system.
Install dependencies:
bundle install
Prepare database for development
and test
environments:
Change DATABASE_URL
and REDIS_URL
in .env.development
and .env.test
.
Example:
.env.development
...
DATABASE_URL="postgresql://localhost/rubytalks_development"
REDIS_URL="redis://localhost:6379"
...
.env.test
...
DATABASE_URL="postgresql://localhost/rubytalks_test"
REDIS_URL="redis://localhost:6379"
...
createdb -U postgres rubytalks_development
createdb -U postgres rubytalks_test
bundle exec rake db:migrate
How to run tests:
bundle exec rspec
How to run the development console:
bundle exec hanami c
How to run the development server:
docker-compose run web bundle exec hanami s
When you run the server the app will be available at http://localhost:2300
If you want to run background jobs during development, you have to start sidekiq
service.
Run docker-compose up sidekiq
. Sidekiq dashboard will be available at https://localhost:2300/sidekiq
Default credentials are: admin/admin
TODO: update later!
heroku container:login
heroku container:push web -a rubytalks-org
heroku container:release web -a rubytalks-org
Show logs: heroku logs --tail -a rubytalks-org
- !!Con http://bangbangcon.com
- RailsConf https://railsconf.com
- RubyHack https://rubyhack.com
- RubyConf http://rubyconf.org
- KeepRubyWeird https://keeprubyweird.com
- GoRuCo http://goruco.com