Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

EmployeeEmpowerment/EmpEmp

Repository files navigation

Bye for now

Due to lack of interest this project is being archived for now. If you are interested in reviving it you can either fork it or message @ForestJay .

Employee Empowerment SaaS App ( EmpEmp.org )

Build Status

Requirements:

  • Ruby version 2.7.4+

Getting started

To get started with the app, first clone the repo and cd into the directory:

$ git clone git@github.com:EmployeeEmpowerment/EmpEmp.git
$ cd EmpEmp

Install the needed gems (while skipping any gems needed only in production):

$ bundle install --without production

Install JavaScript dependencies:

$ yarn install

Install Postgres:

  • This is a rather tedious process and very operating system dependent. I recommend using this guide. Alternatively, you can revert the changes from Issue #16 to return to SQLite in your personal fork. Good luck!

Setup Devise: You need to set the DEVISE environment variables. Here is a way to do it prior to running rake or launching the server. It's better to use a more permanent method like secrets.yml.

$ export DEVISE_SECRET=$(rake secret)

Next, migrate the database:

$ rails db:migrate

Finally, run the test suite to verify that everything is working correctly:

$ rake

If the test suite passes, you'll be ready to run the app in a local server:

$ rails server

License

All source code is available under the MIT License. See LICENSE for details.