Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tm-kn/cht2520-assignment-1-django
https://github.com/tm-kn/cht2520-assignment-1-django
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tm-kn/cht2520-assignment-1-django
- Owner: tm-kn
- License: bsd-2-clause
- Created: 2019-07-02T10:22:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-14T00:49:52.000Z (almost 2 years ago)
- Last Synced: 2024-05-27T19:15:32.032Z (6 months ago)
- Language: Python
- Size: 1.28 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
time tracker
============This is a web application of a web tracker written in Python using the Django
web framework.Set up local environment
------------------------Requirements to run the project VM are:
- Vagrant
- VirtualBox.. code:: sh
vagrant up
vagrant sshThe VM comes with aliases:
- ``dj`` - shortcut to ``django-admin``
- ``djrun`` - shortcut to ``django-admin runserver 0:8000``Create database and superuser
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.. code:: sh
vagrant ssh
dj migrate
dj createsuperuserStart the development server
~~~~~~~~~~~~~~~~~~~~~~~~~~~~.. code:: sh
vagrant ssh
djrunThe application should be available at http://localhost:8000/.
Compile static files
~~~~~~~~~~~~~~~~~~~~.. code:: sh
vagrant ssh
npm install
make staticRun tests
~~~~~~~~.. code:: sh
vagrant ssh
make lint
make test