- Ruby 2.4 or higher.
- MariaDB or MySQL (this app has not been tested with other DBMS, so we don't offer support for them).
- Node.js and Yarn for the front-end dependencies (webpacker).
- ChromeDriver only for Feature Testing purposes.
First, you need to clone this repository and install its dependencies:
$ git clone https://github.com/sargantanacode/sargantanacode $ cd sargantanacode $ bundle install $ yarn install $ bin/webpack
Then you have to edit the app settings and fill in the required data:
$ mv .env.example .env $ vim .env
Now it's time to create the database:
$ rails db:create $ rails db:migrate
At this point you can start a development server by typing
rails s and just when you visit http://localhost:3000 a form will appear from which you can create the first user with admin privileges.
By default the mailing is configured as SMTP (and you can check it in the .env file); if this method doesn't suit your needs, you'll always be able to customize the environments from the config/environments directory.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.