Brak opisu

Andrew Swistak ce090a8684 Configure eslint and fix lint errors 6 lat temu
app ce090a8684 Configure eslint and fix lint errors 6 lat temu
bin 22d2a6569c Install webpacker and React 7 lat temu
config a9355395d6 Remove docker-compose entrypoint for rails 6 lat temu
db 7307985694 Fix Rubocop lint errors 6 lat temu
lib 7307985694 Fix Rubocop lint errors 6 lat temu
log 78560febd9 initialize repo with blank rails app 7 lat temu
public 78560febd9 initialize repo with blank rails app 7 lat temu
spec 7307985694 Fix Rubocop lint errors 6 lat temu
storage 78560febd9 initialize repo with blank rails app 7 lat temu
tmp 78560febd9 initialize repo with blank rails app 7 lat temu
vendor 78560febd9 initialize repo with blank rails app 7 lat temu
.dockerignore 3aae66e485 Create a working Dockerfile 6 lat temu
.env.template 9d82681391 Set up docker-compose for development quickstart 6 lat temu
.eslintrc.js ce090a8684 Configure eslint and fix lint errors 6 lat temu
.gitignore 339a5756c1 Add coverage dir to gitignore 6 lat temu
.rspec 4ba46674e5 Randomize specs 6 lat temu
.rubocop.yml 06b40030c3 Update RuboCop cops 6 lat temu
.ruby-version 77bea4c692 Bump to ruby 2.6.3 6 lat temu
Dockerfile 9d82681391 Set up docker-compose for development quickstart 6 lat temu
Gemfile 7307985694 Fix Rubocop lint errors 6 lat temu
Gemfile.lock 78ad80a3a1 Install RuboCop 6 lat temu
Procfile.dev 6478cc98bd Set up React with HMR 6 lat temu
README.md 78ad80a3a1 Install RuboCop 6 lat temu
Rakefile 7307985694 Fix Rubocop lint errors 6 lat temu
babel.config.js d698720aad Resolve useBuiltIns deprecation warning 6 lat temu
config.ru 7307985694 Fix Rubocop lint errors 6 lat temu
docker-compose.yml a9355395d6 Remove docker-compose entrypoint for rails 6 lat temu
jsconfig.json ac92fdd8e4 Add TSServer configuration file 6 lat temu
package.json ce090a8684 Configure eslint and fix lint errors 6 lat temu
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js 6 lat temu
yarn.lock ce090a8684 Configure eslint and fix lint errors 6 lat temu

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