MySQL workflow with vagrant and git at different environments (sync) [closed] - php

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I currently try to improve my workflow with the new de facto standard software like vagrant.
My setting for a PHP / MySQL project looks like this:
no team, just 1 dev; but working from 3 different machines (iMac, MacBook, Win 8.1 PC)
private Github repository (dev and master branch)
https://puphpet.com/ created vagrant box with Nginx, MySQL and PHP 5.4
rootserver for the production files and database (pull from master-branch)
Everything works fine, but I'm not sure how I could manage the different MySQL databases. Should I add a blanko database to the production server which I only use for schema updates? If so, I could sync each schema's via Navicat or similiar applications...
Are there any best practices for the mysql part?

Related

Is it possible to convert MySQL to AWS(Amazon web services) later? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm creating the web application using(PHP) CodeIgniter framework with MySQL database. Later I want to replace MySQL to AWS(Amazon web services).
Is it possible? What are the challenges to face here?
I need your inputs folks!!!
If possible, Guide me with some examples.
I think you are talking about Amazon RDS. It is pretty simple to migrate.
Step 1: Backup from MySQL
Step 2: Export to your Amazon RDS instance, you can use MySQL Workbench for this
Step 3: Configure your CodeIgniter database.php file to use the Amazon RDS.
You also ahve steps to create the database and all on AWS RDS, but thats all pretty self explained.

Laravel application CI with Docker & Gitlab [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I tried to optimize a workflow for a new laravel application and i want try docker and gitlab-ci
But I'm blow my mind how manage properly.
This is how i think manage my application.
Each commit on master build will run a dind gitlab runner.
Will run docker-compose-test.yml for check regression
If test success, will build a new image and push in private registry
Run a script for getting new image of the app in production server (througth ssh but it's the same server)
But it's con :
DockerFile of app1 is a pure application code container, bad idea. But if i want run app1 ten time i will have 10 ngxin service (1/container) ?
How did you manage this ?

Which on is better? php on iis or php on WAMP Server on windows server 2003(VDS) [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have a VDS(Virtual Dedicated Server) that Windows Server 2003 is installed on it. I want to use php and MySQL on my VDS. I have two options: 1-install wamp server as a web server or 2-install iis and then use php and MySQL on iis.
Which one do you suggest me to use?
Wamp is a great tool for development but it's not very secure and fast for production.
In my opinion, on Windows the best option is IIS, faster and more secure.
You can easily find some tests by searching on Internet :
https://groups.drupal.org/node/234373
I recommand wamp, more stable and efficient.

PostgreSQL for Windows [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Basically i used to make web systems with php and mysql, I wanted to learn a new database system, i chose postgresql. I uninstalled xampp and installed postgresql-9.3.4-2-windows-x64 with PgAdmin III.
Question 1: How can i run my php files using postgre assuming im creating a new system from scratch. Like where do i put my php file? Do i still need to install xampp again? or just put my files inside a folder in the postgresql installation folders?
Question 2: How can i manage my databases using pgAdmin instead of phpPgAdmin or any browser based postgresql database manager.
PostgreSQL is a database, you put your php files in a directory that Apache can serve, and configure Apache accordingly. You can start here
As for the how to use pgadmin, RTM.

My php application with Xampp into a single exe or msi installer? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Xampp is a great product for newbie like us, it is very easy to install and configure. Today I am thinking of rolling up my php applications which I have it inside htdocs folder with the xampp installer. I know that Xampp has a zip package version too. And what I need to know now is that: is it possible and how to include my php application inside the xampp installer or exe for distribution? An example of what I want to achieve is timetracks (it has its own server and all the applications in one installer). Any suggestion is welcome.
You Should look into using server2go http://www.server2go-web.de/ i have used various times to package my PHP apps.

Categories