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