Skip to content
This repository has been archived by the owner. It is now read-only.
First SargantanaCode-project's website version
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
assets
bin
src
tests/AppBundle/Controller
var
web
.editorconfig
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.txt
README.md
composer.json
composer.lock
package-lock.json
package.json
phpunit.xml.dist
webpack.config.js
yarn.lock

README.md

SargantanaCode

Build Status

About

This is the public sourcecode for SargantanaCode's project. This application has been developed from scratch using the Symfony PHP framework.

Requirements

Installation

First, you have to clone this repository:

$ git clone https://github.com/sargantanacode/sargantanacode
$ cd sargantanacode
$ composer install --no-interaction

Second, you have to edit the settings of the app and fill in the required data:

$ vim app/config/parameters.yml

Then it's time to create the database:

$ php bin/console doctrine:database:create
$ php bin/console doctrine:schema:create

And once the database has been created, it's time to create the first user with admin privileges:

$ php bin/console app:create-admin

Usage

If you're in a test or dev environment, Symfony no needs to config a virtual host in your web server to access to this app, just use the built-in web server:

$ php bin/console server:run

Now you can access to this app in your browser at http://localhost:8000. You can stop the built-in server by pressing Ctrl + C while you're in the terminal.

If you want to use a fully-featured web server (like Nginx or Apache) to run this app, configure it to point at the web/ directory of the project. For more details see web server configuration info at Symfony's official page.

Technologies used

Contributing

Read the CONTRIBUTING.md file for more information about to contribute to the project. If you find a bug in the sourcecode we encourage you to send an issue report; if you find a vulnerability on this source code, please send it to us privately.

License

GNU GPL v3

Copyright (C) 2017 Javi Palacios <javi@fjp.es>

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/>.
You can’t perform that action at this time.