|
|
6 yıl önce | |
|---|---|---|
| app | 6 yıl önce | |
| bin | 7 yıl önce | |
| config | 6 yıl önce | |
| db | 6 yıl önce | |
| docs | 6 yıl önce | |
| lib | 6 yıl önce | |
| log | 7 yıl önce | |
| public | 7 yıl önce | |
| spec | 6 yıl önce | |
| storage | 7 yıl önce | |
| tmp | 7 yıl önce | |
| vendor | 7 yıl önce | |
| .browserslistrc | 6 yıl önce | |
| .dockerignore | 6 yıl önce | |
| .env.template | 6 yıl önce | |
| .eslintrc.js | 6 yıl önce | |
| .gitignore | 6 yıl önce | |
| .prettierrc.js | 6 yıl önce | |
| .rspec | 6 yıl önce | |
| .rubocop.yml | 6 yıl önce | |
| .ruby-version | 6 yıl önce | |
| .travis.yml | 6 yıl önce | |
| CONTRIBUTING.md | 6 yıl önce | |
| Dockerfile | 6 yıl önce | |
| Gemfile | 6 yıl önce | |
| Gemfile.lock | 6 yıl önce | |
| LICENSE.md | 6 yıl önce | |
| Procfile.dev | 6 yıl önce | |
| README.md | 6 yıl önce | |
| Rakefile | 6 yıl önce | |
| babel.config.js | 6 yıl önce | |
| config.ru | 6 yıl önce | |
| docker-compose.ci.yml | 6 yıl önce | |
| docker-compose.yml | 6 yıl önce | |
| package.json | 6 yıl önce | |
| postcss.config.js | 6 yıl önce | |
| tsconfig.json | 6 yıl önce | |
| yarn.lock | 6 yıl önce |
Pokemon.trade is a website connecting fellow Pokémon fans together to find and trade Pokémon.
Obviously, make sure you have docker and docker-compose installed before proceeding.
Although not recommended for long term development, you can use the
docker-compose.yml file to quickly setup a local environment that supports
on-the-fly editting and hot-reloading of site components.
# Copy the .env template to .env
# After copying, you should edit the configuration as needed.
cp .env{.template,}
docker-compose up --build -d
docker-compose exec web rails db:create db:schema:load
docker-compose -f docker-compose.ci.yml up -d
docker-compose -f docker-compose.ci.yml run --rm test_web rails db:wait_for_init db:create spec
docker-compose -f docker-compose.ci.yml run --rm test_web yarn test
docker-compose -f docker-compose.ci.yml run --rm test_web rubocop
docker-compose -f docker-compose.ci.yml run --rm test_web yarn lint
docker-compose -f docker-compose.yml down
For setting up a local environment or further information, please see the extended setup documentation.