This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` bash | |
docker run --rm -v ${PWD}:/usr/src -w /usr/src -ti ruby:2.5.1 bash ; cd app | |
``` | |
``` bash | |
gem install rails | |
# Last, we'll create the project skeleton (your options may vary) - but let's | |
# disable running bundler after the project creation, as it may take a couple | |
# of minutes, and we'll end up removing this container, so the install is of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.4" | |
x-mailer: | |
&mailer | |
ADMIN_NAME: "Бендер Родригес" | |
ADMIN_EMAIL: 111@gmail.com | |
ADMIN_PASSWORD: 111 | |
DOMAIN_NAME: gmail.com | |
SMTP_SERVER: smtp.gmail.com | |
x-postgres_env: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ruby:2.6.3 | |
RUN apt-get update \ | |
&& apt-get -y install curl wget git ssh mupdf-tools mc vim | |
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \ | |
&& apt-get install -y nodejs | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | |
ruby '2.6.3' | |
gem "active_hash" | |
gem "activerecord-postgis-adapter" | |
gem 'rails', '~> 5.2.3' | |
gem 'rails-i18n', '~> 5.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"trailId": "54413", | |
"title": "Gotschna Freeride", | |
"photos": { | |
"id": "13788579", | |
"trailId": "54413", | |
"reportid": "0", | |
"smallThumb": "https:\/\/ep1.pinkbike.org\/p1pb13788579\/p1pb13788579.jpg", | |
"largeThumb": "https:\/\/ep1.pinkbike.org\/p4pb13788579\/p4pb13788579.jpg" |