This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.
services/categories.jsshould list it- Place category icon for marker in '/assets/icons/.png' (source:
../images/icons) klub-icon.jsshould link to category icon- In
logo-buttons.scssas the category to the$list. - In
../images/logo_generation/updatelogo.rbcategory listSUBTITLESand follow the instructions in theReadme.mdthere to generate the new logo. Finally copy new images to/assets/logo/. - Open
../images/category-social.psdand generate images for new categories with dimensions 1434x1434.jpg and 200x200.png. Plase them in/assets/social. - Resize the jpg to a 200x200 png using
convert fb-floorball.jpg -resize 200x200 fb-floorball.png - Optimize the size of the jpg with
jpegoptim fb-floorball.jpg - Opimize the size of the png with
optipng fb-floorball.png - [optional] Enqueue in Buffer news
- [optional] Invite zveza to add map to their page
You will need the following things properly installed on your computer.
git clone <repository-url>this repositorycd klubiyarn installbower install
rm -rf tmpsudo umount /mnt/EmberCliRamdisksudo rm -R /mnt/EmberCliRamdisk/
ember serve- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate for more details
ember testember test --server
npm run lint:hbsnpm run lint:jsnpm run lint:js -- --fix
ember build(development)ember build --environment production(production)
# Tempoary hack due to self-signed certificate.
export NODE_TLS_REJECT_UNAUTHORIZED='0'
ember deploy prod
# Review changes in browser, acessing: www.klubi.si/?index_key=klubi:<key>
# When happy run
ember deploy:activate prod --revision=hash