暂无描述

Andrew Swistak 06b40030c3 Update RuboCop cops 6 年之前
app 31e0c3ed08 Simple navbar setup to work on 6 年之前
bin 22d2a6569c Install webpacker and React 7 年之前
config 9d82681391 Set up docker-compose for development quickstart 6 年之前
db bd35d44f77 rake db:migrate 6 年之前
lib 899ee2bcc8 Lint FactoryBot factories 6 年之前
log 78560febd9 initialize repo with blank rails app 7 年之前
public 78560febd9 initialize repo with blank rails app 7 年之前
spec 048086da85 Setup system tests with various driver options 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 3aae66e485 Create a working Dockerfile 6 年之前
.env.template 9d82681391 Set up docker-compose for development quickstart 6 年之前
.gitignore 339a5756c1 Add coverage dir to gitignore 6 年之前
.rspec 4ba46674e5 Randomize specs 6 年之前
.rubocop.yml 06b40030c3 Update RuboCop cops 6 年之前
.ruby-version 77bea4c692 Bump to ruby 2.6.3 6 年之前
Dockerfile 9d82681391 Set up docker-compose for development quickstart 6 年之前
Gemfile 78ad80a3a1 Install RuboCop 6 年之前
Gemfile.lock 78ad80a3a1 Install RuboCop 6 年之前
Procfile.dev 6478cc98bd Set up React with HMR 6 年之前
README.md 78ad80a3a1 Install RuboCop 6 年之前
Rakefile 78560febd9 initialize repo with blank rails app 7 年之前
babel.config.js d698720aad Resolve useBuiltIns deprecation warning 6 年之前
config.ru 78560febd9 initialize repo with blank rails app 7 年之前
docker-compose.yml 9d82681391 Set up docker-compose for development quickstart 6 年之前
jsconfig.json ac92fdd8e4 Add TSServer configuration file 6 年之前
package.json 40bb823b4a Sync react-router with react-router-dom version... oops 6 年之前
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js 6 年之前
yarn.lock 40bb823b4a Sync react-router with react-router-dom version... oops 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