Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

icists/ams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICISTS AMS (Application Management System)

Requirements for installation

There are a few packages that need to be installed before running this django application.

  • python
  • mysql-server
  • libmysqlclient-dev

In Ubuntu, these can be installed by the following command:

$ sudo apt-get install [package-name]

At the project directory, run install.sh, which contains the following commands:

$ virtualenv env
$ source env/bin/activate
(env)$ pip install -r requirements.txt

More items to be prepared

ams_base/icists/mysql.cnf
ams_base/secret.key

To export sql file

dump application_icists database
mysqldump -u [user] -p application_icists > filename.sql
mysql -u [user] -p application_icists < filename.sql

To import MySQL sql file

Log in to MySQL and create a database named 'application_icists'

mysql -u [mysql_username] -p application_icists < [imported_sql_file]

To run the program

(env)$ python manage.py runserver 0.0.0.0:[port]

or to run on port 80 as sudo:

(env)$ sudo ../env/bin/python manage.py runserver 0.0.0.0:80

or instead, use the run.sh, script which contains the above command.

How to run with Docker

run Dockerfile

본 어플리케이션은 Docker Configuration을 통해 간단히 Deploy할 수 있다.

docker build -t ams .

docker run -i -v /Users/zoonoo/repo/ams:/ams -t -p 127.0.0.1:80:80 ams \
service mysql start && python ams_base/manage.py runserver 0.0.0.0:80

About

ICISTS Application Management System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •