31 lines
383 B
Markdown
31 lines
383 B
Markdown
# Commands
|
|
|
|
## Backend
|
|
|
|
```sh
|
|
cd backend
|
|
bundle install
|
|
bundle exec rails db:migrate
|
|
bundle exec rspec
|
|
bundle exec rails routes
|
|
```
|
|
|
|
## Frontend
|
|
|
|
```sh
|
|
cd frontend
|
|
npm install
|
|
npm run dev
|
|
npm run build
|
|
npm run lint
|
|
npm run test
|
|
npm run test:run
|
|
```
|
|
|
|
### Full verification
|
|
|
|
```sh
|
|
cd backend && bundle exec rspec
|
|
cd ../frontend && npm run test:run && npm run build && npm run lint
|
|
```
|