58 lines
1.7 KiB
Markdown
58 lines
1.7 KiB
Markdown
# frontend-reactive
|
|
|
|
This README outlines the details of collaborating on this Ember application.
|
|
A short introduction of this app could easily go here.
|
|
|
|
## Prerequisites
|
|
|
|
You will need the following things properly installed on your computer.
|
|
|
|
- [Git](https://git-scm.com/)
|
|
- [Node.js](https://nodejs.org/) (with npm)
|
|
- [Ember CLI](https://cli.emberjs.com/release/)
|
|
- ~~Google Chrome~~ NO, Fuck off. Bad ember. No Chrome. [Firefox](https://www.mozilla.org/en-US/firefox/new/) does the job just fine. Or, if you really want to use Chrome, use [Ungoogled Chromium](https://github.com/ungoogled-software/ungoogled-chromium)
|
|
|
|
## Installation
|
|
|
|
- `git clone <repository-url>` this repository
|
|
- `cd frontend-reactive`
|
|
- `npm install`
|
|
|
|
## Running / Development
|
|
|
|
- `npm run start`
|
|
- Visit your app at [http://localhost:4200](http://localhost:4200).
|
|
- Visit your tests at [http://localhost:4200/tests](http://localhost:4200/tests).
|
|
|
|
### Code Generators
|
|
|
|
Make use of the many generators for code, try `ember help generate` for more details
|
|
|
|
### Running Tests
|
|
|
|
- `npm run test`
|
|
- `npm run test:ember -- --server`
|
|
|
|
### Linting
|
|
|
|
- `npm run lint`
|
|
- `npm run lint:fix`
|
|
|
|
### Building
|
|
|
|
- `npm exec ember build` (development)
|
|
- `npm run build` (production)
|
|
|
|
### Deploying
|
|
|
|
1. Build it (see point above)
|
|
2. Build the Go server
|
|
3. Now you have a binary with everything needed embedded into it ready to use
|
|
|
|
## Further Reading / Useful Links
|
|
|
|
- [ember.js](https://emberjs.com/)
|
|
- [ember-cli](https://cli.emberjs.com/release/)
|
|
- Development Browser Extensions
|
|
- [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
|
|
- [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)
|