|
|
há 6 anos atrás | |
|---|---|---|
| app | há 6 anos atrás | |
| bin | há 7 anos atrás | |
| config | há 6 anos atrás | |
| db | há 6 anos atrás | |
| lib | há 6 anos atrás | |
| log | há 7 anos atrás | |
| public | há 7 anos atrás | |
| spec | há 6 anos atrás | |
| storage | há 7 anos atrás | |
| tmp | há 7 anos atrás | |
| vendor | há 7 anos atrás | |
| .dockerignore | há 6 anos atrás | |
| .env.template | há 6 anos atrás | |
| .eslintrc.js | há 6 anos atrás | |
| .gitignore | há 6 anos atrás | |
| .prettierrc.js | há 6 anos atrás | |
| .rspec | há 6 anos atrás | |
| .rubocop.yml | há 6 anos atrás | |
| .ruby-version | há 6 anos atrás | |
| Dockerfile | há 6 anos atrás | |
| Gemfile | há 6 anos atrás | |
| Gemfile.lock | há 6 anos atrás | |
| Procfile.dev | há 6 anos atrás | |
| README.md | há 6 anos atrás | |
| Rakefile | há 6 anos atrás | |
| babel.config.js | há 6 anos atrás | |
| config.ru | há 6 anos atrás | |
| docker-compose.yml | há 6 anos atrás | |
| jsconfig.json | há 6 anos atrás | |
| package.json | há 6 anos atrás | |
| postcss.config.js | há 6 anos atrás | |
| yarn.lock | há 6 anos atrás |
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