Skip to content

Commit

Permalink
Merge pull request #24 from LibreCodeCoop/feature/update-documentation
Browse files Browse the repository at this point in the history
Update documentation
  • Loading branch information
vitormattos authored Aug 17, 2023
2 parents 3f22e46 + 89b619c commit b8e4f84
Showing 1 changed file with 6 additions and 7 deletions.
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

0 comments on commit b8e4f84

Please sign in to comment.