Skip to content

raw-vitor/nextcloud-docker-development

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nextcloud development environment

An development apps environment for NextCloud.

Development environment

Before first run

Edit the .env file to set your database password and the version of NextCloud that you will use.

VERSION To this environment get a or branch of NextCloud server repository.

PHP custom settings

If you need custom settings in PHP, change the file .docker/app/config/php.ini.

Up environment

docker-compsoe up

Access in the browser using the port mapped in docker-compose.yml.

Uncheck to setup extra apps to create a clean instalation of NextCloud for development.

After finish the setup, access this url: https://localhost/settings/admin/overview.

If is necessary run any occ command, run like this:

docker exec -u www-data -it nextcloud_app_1 ./occ db:add-missing-indices
docker exec -u www-data -it nextcloud_app_1 ./occ db:convert-filecache-bigint

Start development

Follow the instructions in official NextCloud app development page.

After create the folder to your app, in terminal, change the owner of the folder to your user:

sudo chown -R $USER:$USER nextcloud/apps/yourappfolder

Go to your app folder and initialize versioning.

cd nextcloud/apps/yourappfolder

Good work!

About

☁️ Development environment to create NextCloud apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 73.5%
  • Shell 15.0%
  • PHP 11.5%