Sen descrición

Andrew Swistak 8b1383d85f Use babel-eslint and fix lint errors %!s(int64=6) %!d(string=hai) anos
app 8b1383d85f Use babel-eslint and fix lint errors %!s(int64=6) %!d(string=hai) anos
bin 22d2a6569c Install webpacker and React %!s(int64=7) %!d(string=hai) anos
config 67ca500836 Fix web-console errors when running in docker %!s(int64=6) %!d(string=hai) anos
db 7307985694 Fix Rubocop lint errors %!s(int64=6) %!d(string=hai) anos
lib 7307985694 Fix Rubocop lint errors %!s(int64=6) %!d(string=hai) anos
log 78560febd9 initialize repo with blank rails app %!s(int64=7) %!d(string=hai) anos
public 78560febd9 initialize repo with blank rails app %!s(int64=7) %!d(string=hai) anos
spec 068ed03c6f Exclude magic comment for capybara_helper %!s(int64=6) %!d(string=hai) anos
storage 78560febd9 initialize repo with blank rails app %!s(int64=7) %!d(string=hai) anos
tmp 78560febd9 initialize repo with blank rails app %!s(int64=7) %!d(string=hai) anos
vendor 78560febd9 initialize repo with blank rails app %!s(int64=7) %!d(string=hai) anos
.dockerignore a789123d8f Ignore coverage directory %!s(int64=6) %!d(string=hai) anos
.env.template 863695ca7c Use docker image env variables for config %!s(int64=6) %!d(string=hai) anos
.eslintrc.js 8b1383d85f Use babel-eslint and fix lint errors %!s(int64=6) %!d(string=hai) anos
.gitignore 339a5756c1 Add coverage dir to gitignore %!s(int64=6) %!d(string=hai) anos
.prettierrc.js b908b760e8 Set up prettier + eslint rules %!s(int64=6) %!d(string=hai) anos
.rspec 4ba46674e5 Randomize specs %!s(int64=6) %!d(string=hai) anos
.rubocop.yml 068ed03c6f Exclude magic comment for capybara_helper %!s(int64=6) %!d(string=hai) anos
.ruby-version 77bea4c692 Bump to ruby 2.6.3 %!s(int64=6) %!d(string=hai) anos
Dockerfile fabbb45a3c Clean dev docker build stage %!s(int64=6) %!d(string=hai) anos
Gemfile 7307985694 Fix Rubocop lint errors %!s(int64=6) %!d(string=hai) anos
Gemfile.lock 86fea9ce80 Update rspec-rails %!s(int64=6) %!d(string=hai) anos
Procfile.dev 6478cc98bd Set up React with HMR %!s(int64=6) %!d(string=hai) anos
README.md 78ad80a3a1 Install RuboCop %!s(int64=6) %!d(string=hai) anos
Rakefile 7307985694 Fix Rubocop lint errors %!s(int64=6) %!d(string=hai) anos
babel.config.js d698720aad Resolve useBuiltIns deprecation warning %!s(int64=6) %!d(string=hai) anos
config.ru 7307985694 Fix Rubocop lint errors %!s(int64=6) %!d(string=hai) anos
docker-compose.yml fdf8c44cc0 DRY up docker-compose.yml %!s(int64=6) %!d(string=hai) anos
jsconfig.json ac92fdd8e4 Add TSServer configuration file %!s(int64=6) %!d(string=hai) anos
package.json 8b1383d85f Use babel-eslint and fix lint errors %!s(int64=6) %!d(string=hai) anos
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js %!s(int64=6) %!d(string=hai) anos
yarn.lock 8b1383d85f Use babel-eslint and fix lint errors %!s(int64=6) %!d(string=hai) anos

README.md

Pokemon.trade

Running the app:

You will need config/config.yml. This file is not committed to the repository.

To run the app in development, you need to make a Postgres database pokemon_trade_dev. Then you can run the app via foreman start -f Procfile.dev.

For Rails tests, run rspec. For Javascript tests, run yarn test.

docker build --target builder -t pokemon.trade:builder . docker build -t pokemon.trade:latest . docker run -e RAILS_SERVE_STATIC_FILES=true -e RAILS_ENV=production -e DATABASE_URL=postgres://postgres:postgres@172.17.0.2/pokemon_trade_dev -p 3000:3000 pokemon.trade:latest