Aucune description

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

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