Açıklama Yok

Andrew Swistak d770e052e9 Setting travis language is unnecessary 6 yıl önce
app 4ac8760b19 Implement frontend test samples, as a proof-of-concept 6 yıl önce
bin 22d2a6569c Install webpacker and React 7 yıl önce
config e437bb556d Be very explicit about docker DB env vars 6 yıl önce
db 7307985694 Fix Rubocop lint errors 6 yıl önce
lib e437bb556d Be very explicit about docker DB env vars 6 yıl önce
log 78560febd9 initialize repo with blank rails app 7 yıl önce
public 78560febd9 initialize repo with blank rails app 7 yıl önce
spec 4ac8760b19 Implement frontend test samples, as a proof-of-concept 6 yıl önce
storage 78560febd9 initialize repo with blank rails app 7 yıl önce
tmp 78560febd9 initialize repo with blank rails app 7 yıl önce
vendor 78560febd9 initialize repo with blank rails app 7 yıl önce
.dockerignore a789123d8f Ignore coverage directory 6 yıl önce
.env.template 863695ca7c Use docker image env variables for config 6 yıl önce
.eslintrc.js e21f57b2f3 Fix false-positive lint errors for tests 6 yıl önce
.gitignore 339a5756c1 Add coverage dir to gitignore 6 yıl önce
.prettierrc.js 06400b04db Fix lint warnings 6 yıl önce
.rspec 4ba46674e5 Randomize specs 6 yıl önce
.rubocop.yml 6b0037969b Add more rubocop cop configurations 6 yıl önce
.ruby-version 77bea4c692 Bump to ruby 2.6.3 6 yıl önce
.travis.yml d770e052e9 Setting travis language is unnecessary 6 yıl önce
Dockerfile 70aedc089d Re-install prod container packages, but with cleanup 6 yıl önce
Gemfile 7307985694 Fix Rubocop lint errors 6 yıl önce
Gemfile.lock 86fea9ce80 Update rspec-rails 6 yıl önce
Procfile.dev 6478cc98bd Set up React with HMR 6 yıl önce
README.md 78ad80a3a1 Install RuboCop 6 yıl önce
Rakefile 7307985694 Fix Rubocop lint errors 6 yıl önce
babel.config.js 06400b04db Fix lint warnings 6 yıl önce
config.ru 7307985694 Fix Rubocop lint errors 6 yıl önce
docker-compose.ci.yml e437bb556d Be very explicit about docker DB env vars 6 yıl önce
docker-compose.yml e437bb556d Be very explicit about docker DB env vars 6 yıl önce
jsconfig.json ac92fdd8e4 Add TSServer configuration file 6 yıl önce
package.json 4ac8760b19 Implement frontend test samples, as a proof-of-concept 6 yıl önce
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js 6 yıl önce
yarn.lock 4ac8760b19 Implement frontend test samples, as a proof-of-concept 6 yıl önce

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