Sem descrição

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

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