Keine Beschreibung

Andrew Swistak 5ac7f6a5bc Move app/javascript out of builder after unneeded vor 6 Jahren
app 4ac8760b19 Implement frontend test samples, as a proof-of-concept vor 6 Jahren
bin 22d2a6569c Install webpacker and React vor 7 Jahren
config 06400b04db Fix lint warnings vor 6 Jahren
db 7307985694 Fix Rubocop lint errors vor 6 Jahren
lib 132c71dbaa Create docker-compose file for CI vor 6 Jahren
log 78560febd9 initialize repo with blank rails app vor 7 Jahren
public 78560febd9 initialize repo with blank rails app vor 7 Jahren
spec 4ac8760b19 Implement frontend test samples, as a proof-of-concept vor 6 Jahren
storage 78560febd9 initialize repo with blank rails app vor 7 Jahren
tmp 78560febd9 initialize repo with blank rails app vor 7 Jahren
vendor 78560febd9 initialize repo with blank rails app vor 7 Jahren
.dockerignore a789123d8f Ignore coverage directory vor 6 Jahren
.env.template 863695ca7c Use docker image env variables for config vor 6 Jahren
.eslintrc.js e21f57b2f3 Fix false-positive lint errors for tests vor 6 Jahren
.gitignore 339a5756c1 Add coverage dir to gitignore vor 6 Jahren
.prettierrc.js 06400b04db Fix lint warnings vor 6 Jahren
.rspec 4ba46674e5 Randomize specs vor 6 Jahren
.rubocop.yml 6b0037969b Add more rubocop cop configurations vor 6 Jahren
.ruby-version 77bea4c692 Bump to ruby 2.6.3 vor 6 Jahren
Dockerfile 5ac7f6a5bc Move app/javascript out of builder after unneeded vor 6 Jahren
Gemfile 7307985694 Fix Rubocop lint errors vor 6 Jahren
Gemfile.lock 86fea9ce80 Update rspec-rails vor 6 Jahren
Procfile.dev 6478cc98bd Set up React with HMR vor 6 Jahren
README.md 78ad80a3a1 Install RuboCop vor 6 Jahren
Rakefile 7307985694 Fix Rubocop lint errors vor 6 Jahren
babel.config.js 06400b04db Fix lint warnings vor 6 Jahren
config.ru 7307985694 Fix Rubocop lint errors vor 6 Jahren
docker-compose.ci.yml 132c71dbaa Create docker-compose file for CI vor 6 Jahren
docker-compose.yml fdf8c44cc0 DRY up docker-compose.yml vor 6 Jahren
jsconfig.json ac92fdd8e4 Add TSServer configuration file vor 6 Jahren
package.json 4ac8760b19 Implement frontend test samples, as a proof-of-concept vor 6 Jahren
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js vor 6 Jahren
yarn.lock 4ac8760b19 Implement frontend test samples, as a proof-of-concept vor 6 Jahren

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