Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hiroakis/host-management-app
This project is created for my angular.js study :)
https://github.com/hiroakis/host-management-app
Last synced: 14 days ago
JSON representation
This project is created for my angular.js study :)
- Host: GitHub
- URL: https://github.com/hiroakis/host-management-app
- Owner: hiroakis
- Created: 2014-06-23T07:59:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-01T07:54:31.000Z (over 10 years ago)
- Last Synced: 2023-03-22T15:58:35.905Z (over 1 year ago)
- Language: Python
- Size: 397 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# host-management-app
This is a IP address and host administration tool using flask and angular.js.
This project is created for my angular.js study :)* Python 3.3
* Flask
* SQLAlchemy
* MySQL
* Angular.js## Installation
### This application
```
git clone https://github.com/hiroakis/host-management-app.git
cd host-management-app
pip install -r requirements.txt
cd view
bower install
```### httpd
Move view directory to document root on your httpd and edit view/static/js/app.js following line.
```
var api = 'http://localhost:8080';
```* nginx.conf
view/nginx.conf.example
### MySQL
Install MySQL and edit srvadm/config.py
```
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://srv:srv@localhost/srv?charset=utf8'
```Create database schema and user to connect.
```
/etc/init.d/mysql start
mysql -uroot -e "create database srv"
mysql -uroot -e "grant all privileges on srv.* to 'srv'@'localhost' identified by 'srv';
```### start application
```
python manage.py run
```### insert sample data
```
sh init.sh
```## screen shot
![](screenshot.png?raw=true)
## License
MIT.