Skip to content

Current version of the SargantanaCode-project's website

License

Notifications You must be signed in to change notification settings

sargantanacode/sargantanacode

Repository files navigation

SargantanaCode

Build Status

About

This is the public sourcecode for SargantanaCode's project. This application has been developed from scratch using the Ruby on Rails framework.

Requirements

Installation

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.

License

GNU GPL v3

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/>.