Skip to content

FukuHiro12111/manage-employee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

従業員管理アプリケーション

Docker で環境構築をし、CRUD 機能を備えた Web App

使用技術

  • python
  • mysql
  • tornado
  • unittest
  • docker

環境構築

# イメージをビルドし、デタッチモード(バックグラウンド)で起動
$ docker-compose up -d --build

localhost:8888からjupyternotebookのターミナルを立ち上げる

# データベース作成
$ python3 server.py migrate

# 実行
$ python3 server.py

localhost:3000で表示

# コンテナ、ネットワークの削除
$ docker-compose down
# コンテナ、ネットワーク、イメージの削除
$ docker-compose down --rmi all

unittest

# testsフォルダ以下をすべて実行
$ python -m unittest discover tests

# 特定の関数のみを実行
$ python -m unittest tests.test_.test_member.test_db_is_working

初期画面

alt text

新規登録画面

alt text

一覧画面

alt text

詳細画面

alt text

更新画面

alt text

削除画面

alt text

About

従業員管理アプリケーション

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages