|
@ -1,66 +1,26 @@ |
|
|
# Project |
|
|
|
|
|
|
|
|
# Sumedia Project Manager |
|
|
|
|
|
|
|
|
This are the most stable parts of the project manager, stay tuned... |
|
|
|
|
|
|
|
|
The Sumedia Project Manager is a smart way to create and manager your web projects. |
|
|
|
|
|
It has a design that i was developing and using all the time. |
|
|
|
|
|
|
|
|
## Installation |
|
|
|
|
|
|
|
|
|
|
|
- First copy files from ".etc" to "etc" |
|
|
|
|
|
- Configure etc files |
|
|
|
|
|
- Start manager |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bin/manager |
|
|
|
|
|
|
|
|
|
|
|
## Modify |
|
|
|
|
|
|
|
|
|
|
|
Replace {script-name} with the name of the script wich is located in bin/commands |
|
|
|
|
|
|
|
|
|
|
|
etc/post_config.sh |
|
|
|
|
|
bin/postscripts/{script_name}.sh |
|
|
|
|
|
|
|
|
|
|
|
## Commands |
|
|
|
|
|
|
|
|
Hope you will enjoy. Free to use. |
|
|
|
|
|
|
|
|
Chronologicaly! |
|
|
|
|
|
|
|
|
|
|
|
### Clone Repo |
|
|
|
|
|
|
|
|
|
|
|
bin/commands/clone_repo.sh |
|
|
|
|
|
# Usage: clone_repo.sh |
|
|
|
|
|
|
|
|
|
|
|
### Install/Update Shopware |
|
|
|
|
|
|
|
|
|
|
|
bin/commands/install_shopware.sh |
|
|
|
|
|
# Usage: install_shopware.sh |
|
|
|
|
|
|
|
|
|
|
|
### Create local .env |
|
|
|
|
|
|
|
|
|
|
|
bin/commands/create_local_env.sh |
|
|
|
|
|
# Usage: create_local_env.sh [local_live|local_stage] |
|
|
|
|
|
|
|
|
|
|
|
### Import Database |
|
|
|
|
|
|
|
|
## Installation |
|
|
|
|
|
|
|
|
bin/commands/import_db.sh |
|
|
|
|
|
# Usage: import_db.sh [live|stage] |
|
|
|
|
|
|
|
|
In order to get you startet create first a folder, eg: |
|
|
|
|
|
|
|
|
### Make local Database changes |
|
|
|
|
|
|
|
|
~/Workspaces |
|
|
|
|
|
|
|
|
bin/commands/make_local_database.sh |
|
|
|
|
|
# Usage: make_local_database.sh [live|stage] |
|
|
|
|
|
|
|
|
Go into this folder an install the Sumedia Project Manager |
|
|
|
|
|
|
|
|
### Make changes to the new local database (URL's and Admin-User) |
|
|
|
|
|
|
|
|
cd ~/Workspaces |
|
|
|
|
|
git clone https://git-sumedia-webdesign.de/sumedia-webdesign/project-manager.git .project_manager |
|
|
|
|
|
|
|
|
bin/commands/make_local_database.sh |
|
|
|
|
|
# Usage: make_local_database.sh [live|stage] |
|
|
|
|
|
|
|
|
You can setup the ```project-manager``` to your path or make a link to your bin |
|
|
|
|
|
|
|
|
### Import media files |
|
|
|
|
|
|
|
|
sudo ln -s ~/Workspaces/.project_manager/bin/project-manager /usr/local/bin/project-manager |
|
|
|
|
|
|
|
|
bin/commands/import_media.sh |
|
|
|
|
|
# Usage: import_media.sh [live|stage] /path/to/files |
|
|
|
|
|
# Example: |
|
|
|
|
|
# import_media.sh stage /files |
|
|
|
|
|
# import_media.sh stage /public/media |
|
|
|
|
|
|
|
|
Now you can execute it the first time and check the configuration of your Project Manager |
|
|
|
|
|
|
|
|
### Switch the System |
|
|
|
|
|
|
|
|
project-manager |
|
|
|
|
|
|
|
|
bin/commands/switch_system.sh |
|
|
|
|
|
# Usage: switch_system [live|stage] |
|
|
|