Skip to content
No description, website, or topics provided.
JavaScript ApacheConf HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
dist
test
.bowerrc
.editorconfig
.gitattributes
.gitignore
.htaccess
.jshintrc
CNAME
Gruntfile.js
README.md
bower.json
deploy-pages
package.json
robots.txt

README.md

Polling Station Search for Afghanistan

Install dependencies: npm install && bower install

Test Server: grunt server

Build: grunt build

acrylc-af-pcsearch branch tracking work from: https://github.com/acrylc/af-pcsearch/tree/master

Workflow

master branch will contain production files. gh-pages will mirror the dist/ folder. Branch from master to do development. Pull request into master. Then build and push to `gh-pages.

  1. Work in app/ folder.

  2. If new file created, ensure it is captured in grunt.js

  3. To run locally, run grunt server. Site will run on port 9000.

  4. To build the site, run grunt build. This will update the dist/ folder. Ensure that grunt.js has copied all site files.

  5. Push changes to branch: both app/ and dist/.

  6. Run git subtree push --prefix dist origin gh-pages to push dist/ files to gh-pages branch.

You can’t perform that action at this time.