Няма описание

Andrew Swistak 5ac7f6a5bc Move app/javascript out of builder after unneeded преди 6 години
app 4ac8760b19 Implement frontend test samples, as a proof-of-concept преди 6 години
bin 22d2a6569c Install webpacker and React преди 7 години
config 06400b04db Fix lint warnings преди 6 години
db 7307985694 Fix Rubocop lint errors преди 6 години
lib 132c71dbaa Create docker-compose file for CI преди 6 години
log 78560febd9 initialize repo with blank rails app преди 7 години
public 78560febd9 initialize repo with blank rails app преди 7 години
spec 4ac8760b19 Implement frontend test samples, as a proof-of-concept преди 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 години
.dockerignore a789123d8f Ignore coverage directory преди 6 години
.env.template 863695ca7c Use docker image env variables for config преди 6 години
.eslintrc.js e21f57b2f3 Fix false-positive lint errors for tests преди 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 години
Dockerfile 5ac7f6a5bc Move app/javascript out of builder after unneeded преди 6 години
Gemfile 7307985694 Fix Rubocop lint errors преди 6 години
Gemfile.lock 86fea9ce80 Update rspec-rails преди 6 години
Procfile.dev 6478cc98bd Set up React with HMR преди 6 години
README.md 78ad80a3a1 Install RuboCop преди 6 години
Rakefile 7307985694 Fix Rubocop lint errors преди 6 години
babel.config.js 06400b04db Fix lint warnings преди 6 години
config.ru 7307985694 Fix Rubocop lint errors преди 6 години
docker-compose.ci.yml 132c71dbaa Create docker-compose file for CI преди 6 години
docker-compose.yml fdf8c44cc0 DRY up docker-compose.yml преди 6 години
jsconfig.json ac92fdd8e4 Add TSServer configuration file преди 6 години
package.json 4ac8760b19 Implement frontend test samples, as a proof-of-concept преди 6 години
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js преди 6 години
yarn.lock 4ac8760b19 Implement frontend test samples, as a proof-of-concept преди 6 години

README.md

Pokemon.trade

Running the app:

You will need config/config.yml. This file is not committed to the repository.

To run the app in development, you need to make a Postgres database pokemon_trade_dev. Then you can run the app via foreman start -f Procfile.dev.

For Rails tests, run rspec. For Javascript tests, run yarn test.

docker build --target builder -t pokemon.trade:builder . docker build -t pokemon.trade:latest . docker run -e RAILS_SERVE_STATIC_FILES=true -e RAILS_ENV=production -e DATABASE_URL=postgres://postgres:postgres@172.17.0.2/pokemon_trade_dev -p 3000:3000 pokemon.trade:latest