-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.md
More file actions
56 lines (35 loc) · 2.26 KB
/
README.md
File metadata and controls
56 lines (35 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# AutoDeploy7
It automatically deploys a Ubuntu 16.04 LTS (Xenial Xerus) with all necessary settings and software to develop Python and PHP7 projects. It will provision the system using vagrant with settings for virtualbox, deploys with ArtWeb.
A Linux system with Xenial Xerus and it automatically provisions the system with Apache2, PHP7, MySQL and MySQL related PHP packages, Adminer for database admin, also includes Python and related tools.
#### Install Prerequisites:
---------------------------
1. Install [VirtualBox](https://www.virtualbox.org/wiki/Downloads). It can with VMWare, Hyper-V etc. by changing settings.
2. Install [Git](https://git-scm.com/) with commandline tools.
3. Install [Vagrant](https://www.vagrantup.com/).
#### Install Instructions:
--------------------------
- Open command prompt or Git bash and enter: ```$ git clone https://github.com/aazhbd/autodeploy7.git``` or download [zip](https://github.com/aazhbd/autodeploy7/archive/master.zip)
- Change directory into the newly created autodeploy7 folder and enter: ```$ vagrant up``` and it will automatically deploy and provision the system
- Once the system is up and finished provisioning itself, open web browser and set address to: ``` http://localhost:8080/Artweb/webroot/ ```
It should show the deails of the PHP7 installation and it contains a link on the top to the default page for ArtWeb framework for PHP. The project can be worked with in the ```autodeploy7/data/ArtWeb``` folder.
Also, the link to "ArtWeb - Home" can be opened to open the ArtWeb home page.
And the link to "Adminer - Home" can be opened to access a mysql admin interface.
- Once the system is up, to work with the system itself: ``` $ vagrant ssh ```
- To stop the system, enter: ``` $ vagrant halt ```
Or enter shutdown command ```sudo shutdown now``` with sudo from inside the system.
- To reprovision the system, enter:
```
$ vagrant provision
or
$ vagrant up --provision
```
Reprovisioning the system will upgrade the system packages and try to change in any existing ArtWeb directory.
### License
-----------
The code is released under MIT License.
### Contact
-----------
> **Abdullah Al Zakir Hossain**
- Email: <aazhbd@yahoo.com>
- Github: <http://github.com/aazhbd>
- Profile: <https://de.linkedin.com/in/aazhbd>