mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 04:46:49 +00:00
update frontend development guide (#2591)
* adding doc for tilt inversion * updating frontend development docs to be more noob friendly * updating frontend development docs to be more noob friendly * updating readability issues
This commit is contained in:
parent
56aca2486d
commit
6d2624f31f
18
source/developers/frontend.markdown
Normal file → Executable file
18
source/developers/frontend.markdown
Normal file → Executable file
@ -39,6 +39,24 @@ Next step is to get the frontend code. When you clone the Home Assistant reposit
|
||||
$ script/bootstrap_frontend
|
||||
```
|
||||
|
||||
This script will update the git submodule for the polymer project in
|
||||
|
||||
`home-assistant/homeassistant/components/frontend/www_static/home-assistant-polymer`.
|
||||
|
||||
If you're planning on issuing a PR back to the Home Assistant codebase you need to fork the polymer project and add your fork as a remote.
|
||||
|
||||
```bash
|
||||
$ cd homeassistant/components/frontend/www_static/home-assistant-polymer
|
||||
$ git remote add <remote name> <github URL to your fork>
|
||||
```
|
||||
|
||||
When you've made your changes and are ready to push them change to the working directory for the polymer project and then push your changes
|
||||
|
||||
``` bash
|
||||
$ cd homeassistant/components/frontend/www_static/home-assistant-polymer
|
||||
$ git push -u <remote name> HEAD
|
||||
```
|
||||
|
||||
## {% linkable_title Development %}
|
||||
|
||||
While you are developing, you need to have Rollup running to have changes you make to the JavaScript app-core made available.
|
||||
|
Loading…
x
Reference in New Issue
Block a user