Skip to content

mcnilz/devsystem

Repository files navigation

What to do?
===========

Run the scripts as user and enter root password when prompted: 
--------------------------------------------------------------

 `$ 00-ansible-install-[ubuntu/debian].sh` (only first time)
 
 `$ 01-ansibile-config.sh`                 (sometimes if config variables changed)
 
 `$ 02-ansiable-run.sh`                    (always if ansible playbooks changed)
 
 `$ 03-fuxubuntu.sh`                       (once if you want, see https://fixubuntu.com/)
 
 `$ 04-netbeans.sh`                        (once for netbeans)

Create a project
----------------

Your projects are placed in `$HOME/projects`.

If you have a wordpress in `$HOME/projects/wordpress`:

 `$ cd $HOME/projects/wordpress`

Create a vhost in `$HOME/projects/vhosts` with the helperscript `projects-php-vhost-add`:

 `$ projects-php-vhost-add mywordpress.localdomain`

 `$ sudo echo -e "\n127.0.0.1 mywordpress.localdomain" >> /etc/hosts`

Start docker images for projects with `docker-compose`:

 `$ cd $HOME/docker/projects-php`

 `$ docker-compose up -d`

Create a database `wordpress` with the helperscript `projects-php-database-add`

 `$ projects-php-database-add wordpress`

Open *http://mywordpress.localdomain* in your browser.
Database setup is *database*: **wordpress**, *user*: **develop**, *password*: **develop**, *host*: **mysql**

Have fun.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published