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