Code Monkey home page Code Monkey logo

my_company's Introduction

Start contributing

My Company

Get access to important information about your company

Setup

  • Install this app
  • Configuration
  • go to root folder of your nextcloud instance and run the follow commands:
# Group folders
occ app:enable --force groupfolders

# Forms
git clone --depth 1 --branch feat/embedded https://github.com/vitormattos/forms/ apps/forms
docker run -it -v ${PWD}apps/forms:/app -w /app node npm ci
docker run -it -v ${PWD}apps/forms:/app -w /app node npm run build
occ app:enable --force forms
# Create first the form and get the ID to use here
occ config:app:set my_company registration_form_id --value 1

# LibreSign
git clone --depth 1 --branch feature/add-sign-method https://github.com/LibreSign/libresign/ apps/libresign
occ app:enable --force libresign

occ app:enable my_company
occ my-company:company:add --code local --name "My company" --domain local.localhost

Customizations

Not mandatory, but maybe is important

# Hide development notice
occ config:system:set has_valid_subscription --value true --type boolean

# registration
occ app:enable --force registration
occ config:app:set registration show_fullname --value yes
occ config:app:set registration email_is_optional --value no
occ config:app:set registration disable_email_verification --value no
occ config:app:set registration enforce_fullname --value yes
occ config:app:set registration registered_user_group --value "waiting-approval"
occ config:app:set core shareapi_allow_links_exclude_groups --value "[\"waiting-approval\"]"
occ config:app:set core shareapi_only_share_with_group_members --value no

occ config:app:set files default_quota --value "50 MB"

occ config:app:set core shareapi_allow_share_dialog_user_enumeration --value no

# System settings
# Disable "Log in with a device" at login screen
occ config:system:set auth.webauthn.enabled --value false --type boolean
occ config:system:set defaultapp --value my_company
occ config:system:set auth.bruteforce.protection.enabled --value false --type boolean
occ config:app:set password_policy minLength --value 8
occ config:system:set force_language --value en
occ config:system:set knowledgebaseenabled --value false --type boolean
occ config:system:set overwrite.cli.url --value "https://mycompany.coop"

# Skeleton directory
# First, go to root folder of Nextcloud
mkdir -p data/appdata_`occ config:system:get instanceid`/my_company/skeleton
occ config:system:set skeletondirectory --value /data/appdata_`occ config:system:get instanceid`/my_company/skeleton

# Theme
occ config:app:set theming name --value "My Company"
occ config:app:set theming slogan --value "Made with ❤️"
occ config:app:set theming url --value "https://mycompany.coop"
occ config:app:set theming color --value "#0082c9"
occ config:app:set theming logoMime --value "image/png"
occ config:app:set theming backgroundMime --value "image/jpg"

# Terms of service
occ app:enable --force terms_of_service

Theming

  • Inside the folder appdata_<instanceId>/my_company/theming you will need go create a folder with the domain of company
  • Inside the folder of company, create the file background and logo without extension.

    Logo need to be PNG and background need to be PNG to follow the defined at theming app at logoMime and backgroundMime setting

  • Refresh the cache of app data folder to update the metadata of new images:
    occ files:scan-app-data

Terms of service

  • Fill the terms of service at /settings/admin/terms_of_service

Contributing

here

my_company's People

Contributors

vitormattos avatar dependabot[bot] avatar

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.