Sin descripción

Andrew Swistak 89604a3bb9 Aggressively remove objects from the builder image hace 6 años
app b908b760e8 Set up prettier + eslint rules hace 6 años
bin 22d2a6569c Install webpacker and React hace 7 años
config aa04ff9096 Enforce no_space for Ruby hash literal hace 6 años
db 7307985694 Fix Rubocop lint errors hace 6 años
lib 7307985694 Fix Rubocop lint errors hace 6 años
log 78560febd9 initialize repo with blank rails app hace 7 años
public 78560febd9 initialize repo with blank rails app hace 7 años
spec aa04ff9096 Enforce no_space for Ruby hash literal hace 6 años
storage 78560febd9 initialize repo with blank rails app hace 7 años
tmp 78560febd9 initialize repo with blank rails app hace 7 años
vendor 78560febd9 initialize repo with blank rails app hace 7 años
.dockerignore 3aae66e485 Create a working Dockerfile hace 6 años
.env.template 9d82681391 Set up docker-compose for development quickstart hace 6 años
.eslintrc.js b908b760e8 Set up prettier + eslint rules hace 6 años
.gitignore 339a5756c1 Add coverage dir to gitignore hace 6 años
.prettierrc.js b908b760e8 Set up prettier + eslint rules hace 6 años
.rspec 4ba46674e5 Randomize specs hace 6 años
.rubocop.yml aa04ff9096 Enforce no_space for Ruby hash literal hace 6 años
.ruby-version 77bea4c692 Bump to ruby 2.6.3 hace 6 años
Dockerfile 89604a3bb9 Aggressively remove objects from the builder image hace 6 años
Gemfile 7307985694 Fix Rubocop lint errors hace 6 años
Gemfile.lock 86fea9ce80 Update rspec-rails hace 6 años
Procfile.dev 6478cc98bd Set up React with HMR hace 6 años
README.md 78ad80a3a1 Install RuboCop hace 6 años
Rakefile 7307985694 Fix Rubocop lint errors hace 6 años
babel.config.js d698720aad Resolve useBuiltIns deprecation warning hace 6 años
config.ru 7307985694 Fix Rubocop lint errors hace 6 años
docker-compose.yml a9355395d6 Remove docker-compose entrypoint for rails hace 6 años
jsconfig.json ac92fdd8e4 Add TSServer configuration file hace 6 años
package.json b908b760e8 Set up prettier + eslint rules hace 6 años
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js hace 6 años
yarn.lock b908b760e8 Set up prettier + eslint rules hace 6 años

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