A timeline-based website that can be reused with different sources of data. Live demo at https://46.101.196.201/ (until 1st of September).
The source files come already with the an already built web site. To open it, open file index.html
. In order to create another website with different timeline data, the project must be built again.
- Install: git, nodejs, node-gyp, gulp all globally (troubleshooting available below)
- If on Windows, Git Bash is needed
- Clone the source files by download and extract the repository zip file or use
git clone https://github.com/dieuly/timeline
- In the root folder, there is an excel file named
template.xlsx
, populate your data as you see fit. Data must be organized as already shown in the original template. - Use Bash (Windows, Linux), or Terminal (MacOS), go the the project directory. Run "npm install", which will fetch necessary files for the project. A network connection is required.
- Type command
gulp
to build the project. When build is finish, the project can be opened fromindex.html
.
Soucre files for development are in src
folder. Distribution files are in dist
folder. Gulp automation tasks are configured in gulpfile.js
. gulp watch
can be used for tracking the changes in source files and automatically building the project.
- Cannot use command
node
nornpm
in Debian based system: https://stackoverflow.com/questions/21168141/cannot-install-packages-using-node-package-manager-in-ubuntu - Multiple package build failures when running
npm install
. Check ifnode-gyp
is properly installed and built: https://github.com/nodejs/node-gyp gulp
andgulp watch
commands fail withError: watch null EPERM
. Try running the command one more time.
MIT