Keine Beschreibung

Andrew Swistak 2c91ee0913 Add experimental dev build stage vor 6 Jahren
app b908b760e8 Set up prettier + eslint rules vor 6 Jahren
bin 22d2a6569c Install webpacker and React vor 7 Jahren
config aa04ff9096 Enforce no_space for Ruby hash literal vor 6 Jahren
db 7307985694 Fix Rubocop lint errors vor 6 Jahren
lib 7307985694 Fix Rubocop lint errors 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 aa04ff9096 Enforce no_space for Ruby hash literal 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 3aae66e485 Create a working Dockerfile vor 6 Jahren
.env.template 9d82681391 Set up docker-compose for development quickstart vor 6 Jahren
.eslintrc.js b908b760e8 Set up prettier + eslint rules vor 6 Jahren
.gitignore 339a5756c1 Add coverage dir to gitignore vor 6 Jahren
.prettierrc.js b908b760e8 Set up prettier + eslint rules vor 6 Jahren
.rspec 4ba46674e5 Randomize specs vor 6 Jahren
.rubocop.yml aa04ff9096 Enforce no_space for Ruby hash literal vor 6 Jahren
.ruby-version 77bea4c692 Bump to ruby 2.6.3 vor 6 Jahren
Dockerfile 2c91ee0913 Add experimental dev build stage 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 d698720aad Resolve useBuiltIns deprecation warning vor 6 Jahren
config.ru 7307985694 Fix Rubocop lint errors vor 6 Jahren
docker-compose.yml a9355395d6 Remove docker-compose entrypoint for rails vor 6 Jahren
jsconfig.json ac92fdd8e4 Add TSServer configuration file vor 6 Jahren
package.json b908b760e8 Set up prettier + eslint rules vor 6 Jahren
postcss.config.js d301462241 Move .postcssrc.yml to postcss.config.js vor 6 Jahren
yarn.lock b908b760e8 Set up prettier + eslint rules 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