Bez popisu

Andrew Swistak 86c6c54329 Specify targetted browsers před 6 roky
app 4ac8760b19 Implement frontend test samples, as a proof-of-concept před 6 roky
bin 22d2a6569c Install webpacker and React před 7 roky
config e437bb556d Be very explicit about docker DB env vars před 6 roky
db 7307985694 Fix Rubocop lint errors před 6 roky
lib e437bb556d Be very explicit about docker DB env vars před 6 roky
log 78560febd9 initialize repo with blank rails app před 7 roky
public 78560febd9 initialize repo with blank rails app před 7 roky
spec 4ac8760b19 Implement frontend test samples, as a proof-of-concept před 6 roky
storage 78560febd9 initialize repo with blank rails app před 7 roky
tmp 78560febd9 initialize repo with blank rails app před 7 roky
vendor 78560febd9 initialize repo with blank rails app před 7 roky
.browserslistrc 86c6c54329 Specify targetted browsers před 6 roky
.dockerignore a789123d8f Ignore coverage directory před 6 roky
.env.template 863695ca7c Use docker image env variables for config před 6 roky
.eslintrc.js e21f57b2f3 Fix false-positive lint errors for tests před 6 roky
.gitignore 339a5756c1 Add coverage dir to gitignore před 6 roky
.prettierrc.js 06400b04db Fix lint warnings před 6 roky
.rspec 4ba46674e5 Randomize specs před 6 roky
.rubocop.yml 6b0037969b Add more rubocop cop configurations před 6 roky
.ruby-version 77bea4c692 Bump to ruby 2.6.3 před 6 roky
.travis.yml b9ac3ef3be Specify docker-compose config file in .travis.yml před 6 roky
Dockerfile 70aedc089d Re-install prod container packages, but with cleanup před 6 roky
Gemfile 7307985694 Fix Rubocop lint errors před 6 roky
Gemfile.lock 86fea9ce80 Update rspec-rails před 6 roky
Procfile.dev 6478cc98bd Set up React with HMR před 6 roky
README.md 78ad80a3a1 Install RuboCop před 6 roky
Rakefile 7307985694 Fix Rubocop lint errors před 6 roky
babel.config.js 4b0dcdfbd6 Refrain from polyfilling until we know we want it před 6 roky
config.ru 7307985694 Fix Rubocop lint errors před 6 roky
docker-compose.ci.yml e437bb556d Be very explicit about docker DB env vars před 6 roky
docker-compose.yml c2e542cc49 Fix docker-compose react-hot-loader před 6 roky
jsconfig.json ac92fdd8e4 Add TSServer configuration file před 6 roky
package.json 4b0dcdfbd6 Refrain from polyfilling until we know we want it před 6 roky
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js před 6 roky
yarn.lock 4b0dcdfbd6 Refrain from polyfilling until we know we want it před 6 roky

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