super-rentals
super-rentals copied to clipboard
Codebase for the Super Rentals official tutorial
Super Rentals
This is a working repository for the Super Rentals tutorial, which you can check out at https://guides.emberjs.com/release/tutorial/.
Prerequisites
You will need the following things properly installed on your computer.
- Git
- Node.js
- Yarn
- Ember CLI
- Google Chrome
- A Mapbox API token (with the "styles:tiles" scope)
Installation
git clone <repository-url>this repositorycd super-rentalsyarn install
Running / Development
MAPBOX_ACCESS_TOKEN=YOUR_TOKEN ember serve- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Code Generators
Make use of the many generators for code, try ember help generate for more details
Running Tests
ember testember test --server
Linting
yarn lint:hbsyarn lint:jsyarn lint:js --fix
Building
MAPBOX_ACCESS_TOKEN=YOUR_TOKEN ember build(development)MAPBOX_ACCESS_TOKEN=YOUR_TOKEN ember build --environment production(production)
Deploying
Specify what it takes to deploy your app.