trungict / drs

Daily Report System Project (Internship 20123)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

=== DAILY REPORT SYSTEM PROJECT ===

SETUP

After git clone, run these commands:

$ bundle install

Because of xlsx, we need to comment out ActiveAdmin routes initialization before migrate database.

Change this line in config/routes.rb:

ActiveAdmin.routes(self)

to

#ActiveAdmin.routes(self)

then change it back after these command:

$ bundle execute rake db:migrate
$ bundle execute rake db:test:prepare
$ bundle execute rake db:populate

ACCESS THE ADMIN

First off, run the server:

$ rails server

Now access http://localhost:3000/ and use this credential to login:

Email: drsprj@gmail.com Password: drsprj1234

This email is also currently use as the mail agent for the system.

About

Daily Report System Project (Internship 20123)