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