Skip to content
main
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.markdown

Code for the web site https://www.unixtimesta.mp/.

Build Status Security Headers

Getting Started for Development

Set up the project by creating a Pipenv virtual environment.

pipenv install --dev

Install the required NPM packages and build the client-side assets (note that a Sass build is done automatically as part of the install).

npm install

Finally, run the the Flask development server and access the application in a web browser at http://localhost:5000.

FLASK_DEBUG=1 pipenv run flask run

If you make changes to the SCSS files, you can rebuild the CSS using the following command:

npm run sass -- scss/:unixtimestamp/static/css/

Ensuring Code Quality

Code is formatted with black:

 pipenv run black .

Run the test suite using pytest and behave.

pipenv run pytest
pipenv run behave

Test code quality with pylint.

find . -iname "*.py" | xargs pipenv run pylint

Credits

Icon adapted from http://openclipart.org/detail/192402/clock-icon-by-cinemacookie-192402.

Reporting Issues

Report bugs, issues and requests through GitHub.

About

Web site for converting Unix timestamps into human-readable dates

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
You can’t perform that action at this time.