Nincs leírás

Andrew Swistak 068ed03c6f Exclude magic comment for capybara_helper 6 éve
app b908b760e8 Set up prettier + eslint rules 6 éve
bin 22d2a6569c Install webpacker and React 7 éve
config aa04ff9096 Enforce no_space for Ruby hash literal 6 éve
db 7307985694 Fix Rubocop lint errors 6 éve
lib 7307985694 Fix Rubocop lint errors 6 éve
log 78560febd9 initialize repo with blank rails app 7 éve
public 78560febd9 initialize repo with blank rails app 7 éve
spec 068ed03c6f Exclude magic comment for capybara_helper 6 éve
storage 78560febd9 initialize repo with blank rails app 7 éve
tmp 78560febd9 initialize repo with blank rails app 7 éve
vendor 78560febd9 initialize repo with blank rails app 7 éve
.dockerignore a789123d8f Ignore coverage directory 6 éve
.env.template 863695ca7c Use docker image env variables for config 6 éve
.eslintrc.js b908b760e8 Set up prettier + eslint rules 6 éve
.gitignore 339a5756c1 Add coverage dir to gitignore 6 éve
.prettierrc.js b908b760e8 Set up prettier + eslint rules 6 éve
.rspec 4ba46674e5 Randomize specs 6 éve
.rubocop.yml 068ed03c6f Exclude magic comment for capybara_helper 6 éve
.ruby-version 77bea4c692 Bump to ruby 2.6.3 6 éve
Dockerfile e8c36af426 Cleanup Dockerfile 6 éve
Gemfile 7307985694 Fix Rubocop lint errors 6 éve
Gemfile.lock 86fea9ce80 Update rspec-rails 6 éve
Procfile.dev 6478cc98bd Set up React with HMR 6 éve
README.md 78ad80a3a1 Install RuboCop 6 éve
Rakefile 7307985694 Fix Rubocop lint errors 6 éve
babel.config.js d698720aad Resolve useBuiltIns deprecation warning 6 éve
config.ru 7307985694 Fix Rubocop lint errors 6 éve
docker-compose.yml 863695ca7c Use docker image env variables for config 6 éve
jsconfig.json ac92fdd8e4 Add TSServer configuration file 6 éve
package.json b908b760e8 Set up prettier + eslint rules 6 éve
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js 6 éve
yarn.lock b908b760e8 Set up prettier + eslint rules 6 éve

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