Sem descrição

Andrew Swistak 84a299afc3 Add setup documentation há 6 anos atrás
app 4ac8760b19 Implement frontend test samples, as a proof-of-concept há 6 anos atrás
bin 22d2a6569c Install webpacker and React há 7 anos atrás
config 36b7a64e15 Parameterize `config/database.yml` há 6 anos atrás
db 7307985694 Fix Rubocop lint errors há 6 anos atrás
docs 84a299afc3 Add setup documentation há 6 anos atrás
lib e437bb556d Be very explicit about docker DB env vars 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 4ac8760b19 Implement frontend test samples, as a proof-of-concept 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
.browserslistrc 86c6c54329 Specify targetted browsers há 6 anos atrás
.dockerignore a789123d8f Ignore coverage directory há 6 anos atrás
.env.template 84a299afc3 Add setup documentation há 6 anos atrás
.eslintrc.js e21f57b2f3 Fix false-positive lint errors for tests há 6 anos atrás
.gitignore 339a5756c1 Add coverage dir to gitignore há 6 anos atrás
.prettierrc.js 06400b04db Fix lint warnings 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
.travis.yml b9ac3ef3be Specify docker-compose config file in .travis.yml há 6 anos atrás
CONTRIBUTING.md a9e2a5c4d4 Add CONTRIBUTING and LICENSE files há 6 anos atrás
Dockerfile 70aedc089d Re-install prod container packages, but with cleanup 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
LICENSE.md a9e2a5c4d4 Add CONTRIBUTING and LICENSE files há 6 anos atrás
Procfile.dev 6478cc98bd Set up React with HMR há 6 anos atrás
README.md 84a299afc3 Add setup documentation há 6 anos atrás
Rakefile 7307985694 Fix Rubocop lint errors há 6 anos atrás
babel.config.js 4b0dcdfbd6 Refrain from polyfilling until we know we want it há 6 anos atrás
config.ru 7307985694 Fix Rubocop lint errors há 6 anos atrás
docker-compose.ci.yml e437bb556d Be very explicit about docker DB env vars há 6 anos atrás
docker-compose.yml c2e542cc49 Fix docker-compose react-hot-loader há 6 anos atrás
jsconfig.json ac92fdd8e4 Add TSServer configuration file há 6 anos atrás
package.json 4b0dcdfbd6 Refrain from polyfilling until we know we want it há 6 anos atrás
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js há 6 anos atrás
yarn.lock 4b0dcdfbd6 Refrain from polyfilling until we know we want it há 6 anos atrás

README.md

Pokemon.trade

Pokemon.trade is a website connecting fellow Pokémon fans together to find and trade Pokémon.

Development Quickstart

With Docker and Docker Compose

Obviously, make sure you have docker and docker-compose installed before proceeding.

Although not recommended for long term development, you can use the docker-compose.yml file to quickly setup a local environment that supports on-the-fly editting and hot-reloading of site components.

# Copy the .env template to .env
# After copying, you should edit the configuration as needed.
cp .env{.template,}

docker-compose up --build -d
docker-compose exec web rails db:create db:schema:load

Testing via Docker and Docker Compose

docker-compose -f docker-compose.ci.yml up -d

docker-compose -f docker-compose.ci.yml run --rm test_web rails db:wait_for_init db:create spec
docker-compose -f docker-compose.ci.yml run --rm test_web yarn test
docker-compose -f docker-compose.ci.yml run --rm test_web rubocop
docker-compose -f docker-compose.ci.yml run --rm test_web yarn lint

docker-compose -f docker-compose.yml down

For setting up a local environment or further information, please see the extended setup documentation.