Без опису

Andrew Swistak e8a1fe797d Add initial user control mutations 5 роки тому
app e8a1fe797d Add initial user control mutations 5 роки тому
bin 22d2a6569c Install webpacker and React 7 роки тому
config 7736978e38 Autoformat js config file 5 роки тому
db d8a4d7671c Add deomstrative login/registration routes to frontend 5 роки тому
docs adca8d0fd0 Update README versions and Watchman setup 6 роки тому
lib 5eaf84c455 Return early if JWT unsupplied 5 роки тому
log 78560febd9 initialize repo with blank rails app 7 роки тому
public a13497d584 Use non-default favicon 5 роки тому
spec adf243ed9b Restructure frontend code 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 8083453f8e Install devise, setup omniauth providers 6 роки тому
.eslintignore 45d401e9d7 Update eslint rules; autoformat javascript 6 роки тому
.eslintrc.js 5a4c524070 Update Lint rules 5 роки тому
.gitignore 339a5756c1 Add coverage dir to gitignore 6 роки тому
.prettierrc.js 45d401e9d7 Update eslint rules; autoformat javascript 6 роки тому
.rspec 4ba46674e5 Randomize specs 6 роки тому
.rubocop.yml 6f00c5cc99 Ignore migration method lengths 6 роки тому
.ruby-version a27fdcadc8 Bump ruby version 5 роки тому
.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 a27fdcadc8 Bump ruby version 5 роки тому
Gemfile.lock a27fdcadc8 Bump ruby version 5 роки тому
LICENSE.md a9e2a5c4d4 Add CONTRIBUTING and LICENSE files 6 роки тому
Procfile.dev adf243ed9b Restructure frontend code 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 03160b3e77 Upgrade postgres to 12.1 6 роки тому
package.json 50c6206242 Install/update deps 5 роки тому
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js 6 роки тому
tsconfig.json adf243ed9b Restructure frontend code 6 роки тому
yarn.lock 50c6206242 Install/update deps 5 роки тому

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.