Skip to content

Latest commit

 

History

History

static

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

###Setup

For the UI to work it is necessary to copy the content of sample nginx config file in your nginx default file, usually

/etc/nginx/sites-available/default

On this line

root /home/mleyzaola/go/src/github.com/mauleyzaola/issue-tracker/static/dist;

Change the path accordingly to match your environment and restart nginx service.

sudo service nginx restart

Once nginx changes are done, you will need to configure grunt. From static/ directory just run

npm install
bower install

This will download the required UI dependencies. The final step is to create the dist/ files which are minimized version for production.

You can just run grunt and it will deploy to dist/ directory with the default css theme, which is sandstone from bootswatch

grunt

Or you can pass which theme to copy to dist/ directory like this

grunt --theme=yeti