Simple visitor management system that you can brand. Simple check in works on any chrome based browser. Few check in screens that is mobile friendly. We have it working on older ipads. Print out works on inexpensive label printers. We use the Brother desktop label printer. The admin screen shows a list of everyone who visted, when, why, their photo, dates and times etc.
yum update
yum install -y epel-release yum-utils
yum-config-manager --enable epel
yum clean all && sudo yum update -y
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io | sudo bash -s stable
usermod -a -G rvm `username'
export PATH="$PATH:$HOME/.rvm/bin"
log out then log back in
rvm install ruby-2.5.3
rvm install ruby-devel-2.5.3
bash -l -c "rvm use 2.5.3 --default"
yum install mariadb-server mariadb
yum install mysql-devel
systemctl start mariadb
systemctl enable mariadb
mysql_secure_installation
mysql -u root -p
create database mvms_dev CHARACTER SET utf8 COLLATE utf8_general_ci;
exit
yum install git
cd /var/www/
git clone https://github.com/MicroHealthLLC/mVMS
nano /var/www/mVMS/config/database.yml
--enter the password for mysql where it says password then save and exit
cd /var/www/mVMS
gem install rails
gem install bundler
yum install nodejs
bundle install
rails db:setup
rake db:seed
rake assets:precompile
rake secret
put that output in config/secrets.yml
nano /etc/yum.repos.d/nginx.repo
[nginx-stable]
name=nginx stable repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
yum update
yum install -y nginx
sudo systemctl enable nginx
yum install -y pygpgme curl
curl --fail -sSLo /etc/yum.repos.d/passenger.repo https://oss-binaries.phusionpassenger.com/yum/definitions/el-passenger.repo
yum install -y nginx passenger || sudo yum-config-manager --enable cr && sudo yum install -y nginx passenger
nano /etc/nginx/conf.d/passenger.conf
passenger_ruby /usr/local/rvm/gems/ruby-2.5.3/wrappers/ruby;
--uncomment the line above and the line below along with the passenger_ruby line e.g. remove this"#"
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
nano /etc/nginx/nginx.conf add these
passenger_enabled on;
rails_env development;
service nginx restart
go to https://your-url/admin
login with temp account admin@example.com with password admin@2018
be sure to configure your label printer to print A8 NOT A4
Change, configure and customize your instance. callback uri for socialmedia setup below.
https://YourliveSiteDomain/users/auth/linkedin/callback https://YourliveSiteDomain/users/auth/google_oauth2/callback https://YourliveSiteDomain/users/auth/facebook/callback https://YourliveSiteDomain/users/auth/twitter/callback https://YourliveSiteDomain/users/auth/office365/callback