Giter Club home page Giter Club logo

sites's Introduction

sites

Frontend em laravel para gerenciar sites.

deploy para desenvolvimento:

composer install
cp .env.example .env

Variáveis obrigatórias no .env:

DB_DATABASE=sites
DB_USERNAME=master
DB_PASSWORD=master

SENHAUNICA_KEY=
SENHAUNICA_SECRET=
SENHAUNICA_CALLBACK_ID=
SENHAUNICA_DEV=yes
ADMINS=12334
DNSZONE=.fflch.usp.br

REPLICADO_HOST=
REPLICADO_PORT=5005
REPLICADO_DATABASE=fflch
REPLICADO_USERNAME=fflch
REPLICADO_PASSWORD=

php artisan key:generate
php artisan migrate
php artisan vendor:publish --provider="Uspdev\UspTheme\ServiceProvider" --tag=assets --force
php artisan serve

sites's People

Contributors

acesarfs avatar maxineli03 avatar powdn avatar ricardfo avatar thiagogomesverissimo avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sites's Issues

Criar task para o próprio usuário desabilitar, habilitar e deletar site

Create site Disable task
http://aegir.example.com/aegir/saas/task
Form data:
target: client1.example.com
type: disable

Create site Enable task
http://aegir.example.com/aegir/saas/task
Form data:
target: client1.example.com
type: enable

Create site Delete task
http://aegir.example.com/aegir/saas/task
Form data:
target: client1.example.com
type: delete

Erro ao realizar deploy.

Por favor, melhorar instruções de deploy no README
Depois do composer install, quando ele vai fazer o postAutoLoadDump, ele dá o erro

ReflectionException  : Class Uspdev\SenhaunicaSocialite\SenhaunicaExtendSocialite does not exist

Criar opção (para admins): diagnóstico dos sites

Essa página nos ajudaria a verificar rapidamente o estados dos sites. Inicialmente podemos começar os seguintes dados em real time:

  • data do último login
  • espaço em disco ocupado pela pasta files
  • quantidade de formulários webform abertos
  • quantidade de nodes

No método store, disparar request para criação do site no aegir (que na verdade será um clone)

https://matteobrusa.github.io/md-styler/?url=cgit.drupalcode.org/hosting_services/plain/submodules/hosting_saas/README.md

Create site Clone task
http://aegir.example.com/aegir/saas/task
Form data:
target: template.example.com (optional if in settings)
type: clone
options[new_uri]: client1.example.com
options[database]: 12 (DB server node ID, if not in settings)
options[target_platform]: 24 (Platform node ID, if not in settings)
options[client_email]: [email protected] (if set up in Site handovers configuration)
options[client_name]: jane.doe (if set up in Site handovers configuration)
options[...]: (arguments set in your Injected variables configuration)

Restringir login

Para pessoas da Unidade via arquivo env: duas variáveis senhaunica_codund e senhaunica_vinculo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.