Nessuna descrizione

Andrew Swistak 8873c2af95 Remove whitespace in credentials 6 anni fa
app e7f1d9300a Prepare GraphQL for Relay 6 anni fa
bin 22d2a6569c Install webpacker and React 7 anni fa
config 8873c2af95 Remove whitespace in credentials 6 anni fa
db 7307985694 Fix Rubocop lint errors 6 anni fa
docs 84a299afc3 Add setup documentation 6 anni fa
lib 12091aafe5 Fix error not passing RestClient http error body 6 anni fa
log 78560febd9 initialize repo with blank rails app 7 anni fa
public 78560febd9 initialize repo with blank rails app 7 anni fa
spec 2915cccd1b Add simple-cov to view code coverage 6 anni fa
storage 78560febd9 initialize repo with blank rails app 7 anni fa
tmp 78560febd9 initialize repo with blank rails app 7 anni fa
vendor 78560febd9 initialize repo with blank rails app 7 anni fa
.browserslistrc 86c6c54329 Specify targetted browsers 6 anni fa
.dockerignore a789123d8f Ignore coverage directory 6 anni fa
.env.template 84a299afc3 Add setup documentation 6 anni fa
.eslintrc.js f5abc3a1ec Convert to typescript linting and type our TS! 6 anni fa
.gitignore 339a5756c1 Add coverage dir to gitignore 6 anni fa
.prettierrc.js 06400b04db Fix lint warnings 6 anni fa
.rspec 4ba46674e5 Randomize specs 6 anni fa
.rubocop.yml 6b0037969b Add more rubocop cop configurations 6 anni fa
.ruby-version 77bea4c692 Bump to ruby 2.6.3 6 anni fa
.travis.yml b9ac3ef3be Specify docker-compose config file in .travis.yml 6 anni fa
CONTRIBUTING.md a9e2a5c4d4 Add CONTRIBUTING and LICENSE files 6 anni fa
Dockerfile 70aedc089d Re-install prod container packages, but with cleanup 6 anni fa
Gemfile 2915cccd1b Add simple-cov to view code coverage 6 anni fa
Gemfile.lock 2915cccd1b Add simple-cov to view code coverage 6 anni fa
LICENSE.md a9e2a5c4d4 Add CONTRIBUTING and LICENSE files 6 anni fa
Procfile.dev 6478cc98bd Set up React with HMR 6 anni fa
README.md 84a299afc3 Add setup documentation 6 anni fa
Rakefile 7307985694 Fix Rubocop lint errors 6 anni fa
babel.config.js 4b0dcdfbd6 Refrain from polyfilling until we know we want it 6 anni fa
config.ru 7307985694 Fix Rubocop lint errors 6 anni fa
docker-compose.ci.yml e437bb556d Be very explicit about docker DB env vars 6 anni fa
docker-compose.yml c2e542cc49 Fix docker-compose react-hot-loader 6 anni fa
package.json f5abc3a1ec Convert to typescript linting and type our TS! 6 anni fa
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js 6 anni fa
tsconfig.json 7708c6e243 Swap @babel/preset-typescript for ts-jest 6 anni fa
yarn.lock f5abc3a1ec Convert to typescript linting and type our TS! 6 anni fa

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.