Нет описания

Andrew Swistak 76f9f5bdab Add yarn audit to travis steps 6 лет назад
app 6663a0a85d Give page darker background 6 лет назад
bin 22d2a6569c Install webpacker and React 7 лет назад
config 23bf0af327 Production will always use https. 6 лет назад
db f44f9c762e Add rake task to dump GraphQL schema for Relay 6 лет назад
docs adca8d0fd0 Update README versions and Watchman setup 6 лет назад
lib f44f9c762e Add rake task to dump GraphQL schema for Relay 6 лет назад
log 78560febd9 initialize repo with blank rails app 7 лет назад
public 78560febd9 initialize repo with blank rails app 7 лет назад
spec 62c4e910bc Remove autoloading of Webdrivers in docker env 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 лет назад
.eslintrc.js cbbb54f9ff Allow arrow functions no return type 6 лет назад
.gitignore 339a5756c1 Add coverage dir to gitignore 6 лет назад
.prettierrc.js 06400b04db Fix lint warnings 6 лет назад
.rspec 4ba46674e5 Randomize specs 6 лет назад
.rubocop.yml 6b0037969b Add more rubocop cop configurations 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 62c4e910bc Remove autoloading of Webdrivers in docker env 6 лет назад
Gemfile 62c4e910bc Remove autoloading of Webdrivers in docker env 6 лет назад
Gemfile.lock 3b5c0ea485 Bump deps, and upgrade to Rails 6 🎉 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 7307985694 Fix Rubocop lint errors 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 7195836d28 Cache gems/node modules in docker CI 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.