Нема описа

Andrew Swistak 38efa1c14b Update rubocop cops; autoformat ruby пре 6 година
app 38efa1c14b Update rubocop cops; autoformat ruby пре 6 година
bin 22d2a6569c Install webpacker and React пре 7 година
config 38efa1c14b Update rubocop cops; autoformat ruby пре 6 година
db 38efa1c14b Update rubocop cops; autoformat ruby пре 6 година
docs adca8d0fd0 Update README versions and Watchman setup пре 6 година
lib 38efa1c14b Update rubocop cops; autoformat ruby пре 6 година
log 78560febd9 initialize repo with blank rails app пре 7 година
public 78560febd9 initialize repo with blank rails app пре 7 година
spec 38efa1c14b Update rubocop cops; autoformat ruby пре 6 година
storage 78560febd9 initialize repo with blank rails app пре 7 година
tmp 78560febd9 initialize repo with blank rails app пре 7 година
vendor 78560febd9 initialize repo with blank rails app пре 7 година
.browserslistrc 86c6c54329 Specify targetted browsers пре 6 година
.dockerignore a789123d8f Ignore coverage directory пре 6 година
.env.template 84a299afc3 Add setup documentation пре 6 година
.eslintignore 45d401e9d7 Update eslint rules; autoformat javascript пре 6 година
.eslintrc.js 45d401e9d7 Update eslint rules; autoformat javascript пре 6 година
.gitignore 339a5756c1 Add coverage dir to gitignore пре 6 година
.prettierrc.js 45d401e9d7 Update eslint rules; autoformat javascript пре 6 година
.rspec 4ba46674e5 Randomize specs пре 6 година
.rubocop.yml 38efa1c14b Update rubocop cops; autoformat ruby пре 6 година
.ruby-version 77bea4c692 Bump to ruby 2.6.3 пре 6 година
.travis.yml 76f9f5bdab Add yarn audit to travis steps пре 6 година
CONTRIBUTING.md a9e2a5c4d4 Add CONTRIBUTING and LICENSE files пре 6 година
Dockerfile 45d401e9d7 Update eslint rules; autoformat javascript пре 6 година
Gemfile 38efa1c14b Update rubocop cops; autoformat ruby пре 6 година
Gemfile.lock 38efa1c14b Update rubocop cops; autoformat ruby пре 6 година
LICENSE.md a9e2a5c4d4 Add CONTRIBUTING and LICENSE files пре 6 година
Procfile.dev cedc0accba Configure Procfile watchman to watch all packs пре 6 година
README.md 84a299afc3 Add setup documentation пре 6 година
Rakefile 38efa1c14b Update rubocop cops; autoformat ruby пре 6 година
babel.config.js 5bfc19ba5a First passing test for frontend graphql fragment component пре 6 година
config.ru 7307985694 Fix Rubocop lint errors пре 6 година
docker-compose.ci.yml 0759d6dd9f Hotfix brakeman timing out CI runs пре 6 година
docker-compose.yml 93c0fbde2d Fix docker/docker-compose build for development пре 6 година
package.json 5bfc19ba5a First passing test for frontend graphql fragment component пре 6 година
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js пре 6 година
tsconfig.json 77561fb865 Fix test module imports пре 6 година
yarn.lock 3b5c0ea485 Bump deps, and upgrade to Rails 6 🎉 пре 6 година

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.