This project to develop frontend animecode.
- nodejs
- grunt cli
- bower
npm install & bower install
Run grunt
for building and grunt serve
for preview.
- Remove the dist directory from the .gitignore file.
- Add the dist directory to repository:
git add dist && git commit -m "Initial dist subtree commit"
- Deploy the subtree to a different branch. Specify a relative path to your dist directory with --prefix:
git subtree push --prefix dist origin gh-pages
- Develop normally, committing your entire repository to default (master) branch.
- To deploy the dist directory, run the subtree push command from the root directory:
git subtree push --prefix dist origin gh-pages