Skip to content

Latest commit

 

History

History
73 lines (36 loc) · 1.55 KB

README.md

File metadata and controls

73 lines (36 loc) · 1.55 KB

Introduction

This project was implemented in Django and Python

This project visualizes the process of 'PTP Time Synchronization' in a Linux environment.

Environment

Python version : 3.6.9

Django version : 2.0.13

AWS console : Ubuntu Server 18.04 LTS

Dockerfile

$ docker build -t <tag name> . 

After entering the docker build command, you can specify the name (tag) of the image to be created by entering the -t option. Behind it . Is the Dockerfile and the path where the content is located.

Precondition (When not using Docker)

You must install the virtual environment first, and then run the program.

The process of installing the virtual environment is as follows:

$ mkdir djangoproject
$ cd djangoproject

When creating a virtual environment named 'myvenv', execute the following command.

$ python3 -m venv myvenv
$ source myvenv/bin/activate 

If the (myvenv) prefix is prefixed to the console prompt, you can see that the virtual environment has started. And then, Install Django

(myvenv) ~$ pip install django~=2.0.0

Main Page

Screenshot from 2020-08-12 13-58-32

Normal Graph

Screenshot from 2020-08-12 14-01-07

Zoom In/Out Graph

Screenshot from 2020-08-12 14-00-02