Code for the web site https://www.unixtimesta.mp/.
To run the site locally, create a local virtual environment (you can do this using make pyenv-virtualenv
if you use pyenv-virtualenv), and then run:
make .env
to write a default.env
file;pip install --requirement requirements.txt
to install Python packages;npm install
to install JavaScript packages;npm run build
to build the frontend assets; andflask run --debug
to start the website.
If you're using macOS, you might need to run Flask with the --port n
option as well. This is because macOS uses Flask's preferred port (5000) for something else.
Icon adapted from http://openclipart.org/detail/192402/clock-icon-by-cinemacookie-192402.