Skip to content

camilosampedro/Aton

Repository files navigation

Aton

Build Status GitHub version Code Climate Issue Count Open Source Love Open Source Love Join the chat at https://atondev.slack.com Join the chat at https://gitter.im/Aton-admin/Lobby

Web computer laboratory administrator.

Screenshot

Warning

This project is still in development stage. Use it under your own risk because it doesn't come with any kind of warranty.

Dependencies

Before installing it is required:

  • Java 8

How to install

Install from release file

Go to releases page and download the ones who fits you most.

Debian / Ubuntu / Linux Mint .deb

After downloading, execute:

sudo dpkg -i aton-VERSION.deb
mysql -p < /usr/share/aton/conf/default/create.sql

Uninstalling from release file

Debian / Ubuntu / Linux Mint

sudo apt-get remove aton

Compile from source code

Compile requirements

You will need to have installed:

Clone GitHub repository

git clone https://github.com/camilosampedro/Aton.git

Try it in non-production mode

activator run

Compile it with activator

You can generate your own native package with the following syntax

activator [target]:packageBin

target can be replaced depending on the target package format. The following are included:

  • rpm for RPM based Linux distributions. You will need rpmbuild installed
  • debian for Debian based Linux distributions. You will need dpkg installed
  • windows for generating a MSI installation file. You will need wix installed
  • jdkPackage for generating a Java file.

Service

When you install from a release file you will have a service called aton in your system (For reference, located in /etc/init/aton.conf) that can be managed with service:

  • To start: sudo service aton start
  • To restart: sudo service aton restart
  • To stop: sudo service aton stop
  • To check status: sudo service aton status

Port

By default, Aton uses Play Framework's default port: 9000. If you want to start Aton on another port, you can do it by editing the service script /etc/init/aton.conf. You will need to look for a segment similar to

# Start the process
script
  exec sudo -u aton bin/aton
end script

And add -Dhttp.port=THE_NEW_PORT

# Start the process
script
  exec sudo -u aton bin/aton -Dhttp.port=8080
end script

Testing

Thanks to LIS, Aton could be tested on a real 80 computers environment. The system specifications was:

Aton server

  • Operating system: Ubuntu 14.04.5 LTS
  • RAM: 512 mb
  • Cores: 1 core @ 1.60GHz

Managed computers

  • Operatings system: Linux Mint Debian Edition 2
  • RAM: ~4 gb (Some have 2gb, others have 8gb)
  • Processors: Intel core 2 Duo and Intel core i7
  • A room full of software engineering students! Most of them use IDEs, test commands, navigate through SSH.
  • LDAP user management.