-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
157 changed files
with
13,745 additions
and
3,006 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# This file is a "template" of which env vars need to be defined for your application | ||
# Copy this file to .env file for development, create environment variables when deploying to production | ||
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration | ||
|
||
###> symfony/framework-bundle ### | ||
APP_ENV=dev | ||
APP_SECRET=0b72d5306553d80564b493d8451cc5e1 | ||
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2 | ||
#TRUSTED_HOSTS=localhost,example.com | ||
###< symfony/framework-bundle ### | ||
|
||
###> symfony/swiftmailer-bundle ### | ||
# For Gmail as a transport, use: "gmail://username:password@localhost" | ||
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode=" | ||
# Delivery is disabled by default via "null://localhost" | ||
MAILER_URL=null://localhost | ||
###< symfony/swiftmailer-bundle ### | ||
|
||
###> doctrine/doctrine-bundle ### | ||
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url | ||
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db" | ||
# Configure your db driver and server_version in config/packages/doctrine.yaml | ||
DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name | ||
###< doctrine/doctrine-bundle ### | ||
|
||
FACEBOOK_CLIENT_ID=EDITME | ||
FACEBOOK_CLIENT_SECRET=EDITME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,22 @@ | ||
# Bootstrap | ||
/var/bootstrap* | ||
.idea | ||
.DS_Store | ||
|
||
# Symfony directories | ||
/build/ | ||
/behat.yml | ||
/phpunit.xml | ||
/var/* | ||
!/var/cache | ||
/var/cache/* | ||
!var/cache/.gitkeep | ||
!/var/logs | ||
/var/logs/* | ||
!var/logs/.gitkeep | ||
!/var/sessions | ||
/var/sessions/* | ||
!var/sessions/.gitkeep | ||
!var/SymfonyRequirements.php | ||
/vendor/ | ||
|
||
/web/bundles | ||
/web/uploads/* | ||
/web/media/* | ||
/web/assets | ||
/composer.lock | ||
/node_modules | ||
|
||
# Configuration files | ||
app/config/parameters.ini | ||
app/config/parameters.yml | ||
app/config/*.local.yml | ||
app/config/deploy.rb | ||
behat.yml | ||
/phpspec.yml | ||
|
||
###> symfony/webpack-encore-pack ### | ||
/node_modules/ | ||
/public/build/ | ||
npm-debug.log | ||
yarn-error.log | ||
###< symfony/webpack-encore-pack ### | ||
|
||
# eclipse | ||
.externalToolBuilders | ||
.settings | ||
.buildpath | ||
.project | ||
|
||
#Others | ||
.idea | ||
.DS_Store | ||
bin/behat | ||
bin/doctrine* | ||
bin/phpspec | ||
bin/webunit | ||
bin/phpunit | ||
bin/phpcrodm | ||
bin/phpcrodm.php | ||
bin/jackalope | ||
bin/phpunit | ||
|
||
deploy/deploy.rb | ||
deploy/stages/*.rb | ||
###> symfony/framework-bundle ### | ||
/.env | ||
/public/bundles/ | ||
/public/assets/ | ||
/public/media/ | ||
/var/ | ||
/vendor/ | ||
###< symfony/framework-bundle ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,7 @@ | ||
var gulp = require('gulp'); | ||
var chug = require('gulp-chug'); | ||
var argv = require('yargs').argv; | ||
var requireDir = require('require-dir'); | ||
|
||
config_vendor = [ | ||
'--rootPath', | ||
argv.rootPath || '../../../web/assets/', | ||
'--nodeModulesPath', | ||
argv.nodeModulesPath || '../../../node_modules/' | ||
]; | ||
requireDir('./gulp_tasks'); | ||
|
||
config_src = [ | ||
'--rootPath', | ||
argv.rootPath || '../../../../web/assets/', | ||
'--nodeModulesPath', | ||
argv.nodeModulesPath || '../../../../node_modules/' | ||
]; | ||
|
||
gulp.task('odiseo-admin', function() { | ||
gulp.src('vendor/odiseoteam/odiseo-admin-bundle/Gulpfile.js', { read: false }) | ||
.pipe(chug({ args: config_vendor })) | ||
; | ||
}); | ||
|
||
gulp.task('client-admin', function() { | ||
gulp.src('src/Client/Bundle/AdminBundle/Gulpfile.js', { read: false }) | ||
.pipe(chug({ args: config_src })) | ||
; | ||
}); | ||
|
||
gulp.task('client-app', function() { | ||
gulp.src('src/Client/Bundle/AppBundle/Gulpfile.js', { read: false }) | ||
.pipe(chug({ args: config_src })) | ||
; | ||
}); | ||
|
||
gulp.task('default', ['odiseo-admin', 'client-admin', 'client-app']); | ||
gulp.task('default', ['odiseo-admin', 'admin', 'app']); | ||
gulp.task('watch', ['odiseo-admin', 'admin-watch', 'app-watch']); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
Odiseo Standard Edition | ||
======================== | ||
|
||
Welcome to the Symfony Standard Edition - a fully-functional Symfony | ||
Welcome to the Symfony Standard Edition - a fully-functional Symfony4 | ||
application that you can use as the skeleton for your new applications. | ||
|
||
Installation | ||
------------ | ||
|
||
```bash | ||
sudo php composer.phar create-project odiseoteam/odiseo-standard-edition [path_to_project] | ||
cd [path_to_project] | ||
sudo php composer.phar update | ||
sudo php bin/console doctrine:database:create | ||
sudo php bin/console doctrine:schema:update --force | ||
sudo php bin/console doctrine:fixtures:load | ||
sudo rm -rf var/cache var/logs && sudo mkdir var/cache var/logs && sudo chmod -R 777 var/cache var/logs | ||
sudo npm install | ||
sudo gulp | ||
sudo php bin/console server:start | ||
$ composer create-project odiseoteam/odiseo-standard-edition [path_to_project] | ||
$ cd [path_to_project] | ||
$ composer update | ||
$ yarn install | ||
$ yarn run gulp | ||
$ php bin/console doctrine:database:create | ||
$ php bin/console doctrine:schema:update --force | ||
$ php bin/console doctrine:fixtures:load | ||
$ rm -rf var/cache var/logs && mkdir var/cache var/logs && chmod -R 777 var/cache var/logs | ||
``` | ||
Open: http://localhost:8000/ | ||
|
||
TODO List | ||
--------------- | ||
GET FUN!!! | ||
|
||
Authors | ||
------- | ||
|
||
Project by [Odiseo Team](https://odiseo.com.ar). |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.