Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation #24

Merged
merged 1 commit into from
Aug 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ Get access to important information about your company
* Configuration
* go to root folder of your nextcloud instance and run the follow commands:
```bash
# Group folders
occ app:enable --force groupfolders
occ group:add mycompany --display-name="My Company"

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

# registration
occ app:enable --force registration
Expand All @@ -37,6 +41,7 @@ Get access to important information about your company
occ config:system:set knowledgebaseenabled --value false --type boolean

# 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

Expand All @@ -47,8 +52,6 @@ Get access to important information about your company
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"
occ config:system:set theme --value ../apps-extra/my_company/themes/default
mkdir -p data/appdata_`occ config:system:get instanceid`/my_company/theming

# Forms
git clone --depth 1 --branch feat/embedded https://github.com/vitormattos/forms/ apps/forms
Expand All @@ -58,10 +61,6 @@ Get access to important information about your company
# Create first the form and get the ID to use here
occ config:app:set my_company registration_form_id --value 1

# Group folders
occ app:enable --force groupfolders
occ group:add mycompany --display-name="My Company"

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

Expand Down