Keine Beschreibung

Andrew Swistak 188b95c862 Cache graphql fetches vor 6 Jahren
app 188b95c862 Cache graphql fetches vor 6 Jahren
bin 22d2a6569c Install webpacker and React vor 7 Jahren
config 23bf0af327 Production will always use https. vor 6 Jahren
db f44f9c762e Add rake task to dump GraphQL schema for Relay vor 6 Jahren
docs adca8d0fd0 Update README versions and Watchman setup vor 6 Jahren
lib f44f9c762e Add rake task to dump GraphQL schema for Relay vor 6 Jahren
log 78560febd9 initialize repo with blank rails app vor 7 Jahren
public 78560febd9 initialize repo with blank rails app vor 7 Jahren
spec 602fe8eb5f SimpleCov provides a baseline rails setting vor 6 Jahren
storage 78560febd9 initialize repo with blank rails app vor 7 Jahren
tmp 78560febd9 initialize repo with blank rails app vor 7 Jahren
vendor 78560febd9 initialize repo with blank rails app vor 7 Jahren
.browserslistrc 86c6c54329 Specify targetted browsers vor 6 Jahren
.dockerignore a789123d8f Ignore coverage directory vor 6 Jahren
.env.template 84a299afc3 Add setup documentation vor 6 Jahren
.eslintrc.js cbbb54f9ff Allow arrow functions no return type vor 6 Jahren
.gitignore 339a5756c1 Add coverage dir to gitignore vor 6 Jahren
.prettierrc.js 06400b04db Fix lint warnings vor 6 Jahren
.rspec 4ba46674e5 Randomize specs vor 6 Jahren
.rubocop.yml 6b0037969b Add more rubocop cop configurations vor 6 Jahren
.ruby-version 77bea4c692 Bump to ruby 2.6.3 vor 6 Jahren
.travis.yml d74dca9919 bundle-audit Gemfile dependencies vor 6 Jahren
CONTRIBUTING.md a9e2a5c4d4 Add CONTRIBUTING and LICENSE files vor 6 Jahren
Dockerfile 6d50f36989 Only copy necessary files to docker container vor 6 Jahren
Gemfile d74dca9919 bundle-audit Gemfile dependencies vor 6 Jahren
Gemfile.lock d74dca9919 bundle-audit Gemfile dependencies vor 6 Jahren
LICENSE.md a9e2a5c4d4 Add CONTRIBUTING and LICENSE files vor 6 Jahren
Procfile.dev 0a0c4e6f45 Add watchman and graphql relay watch processes vor 6 Jahren
README.md 84a299afc3 Add setup documentation vor 6 Jahren
Rakefile 7307985694 Fix Rubocop lint errors vor 6 Jahren
babel.config.js 71323952c4 Working relay configuration for vanilla JS vor 6 Jahren
config.ru 7307985694 Fix Rubocop lint errors vor 6 Jahren
docker-compose.ci.yml e437bb556d Be very explicit about docker DB env vars vor 6 Jahren
docker-compose.yml c2e542cc49 Fix docker-compose react-hot-loader vor 6 Jahren
package.json 8141cb00d7 Let's worry about a polyfill when we think we need it vor 6 Jahren
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js vor 6 Jahren
tsconfig.json a6b7bb5a24 Target esNest in tsconfig vor 6 Jahren
yarn.lock 8587e55e9a Bump frontend dependencies vor 6 Jahren

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.