What is the workflow to publish? (8 posts)

  1. tirengarfio
    Posted 2 years ago #


    I'm new to WP and these were my steps to publish a project:

    • I downloaded wp to my local host and I installed it (I also installed a pair of plugins and a theme...).
    • I created a git repository in a remote host and i pushed the wp project. In the remote host, I cloned the git reposiotory to /var/www/my_wp_project.
    • I request the url http://my_remote_host/my_wp_project, but it asked me about installing wp again...
    • Well after installed wp again, the theme is not the same as in local...!

    Can anyone give some advices?


  2. edpittol
    Posted 2 years ago #

    You need config your database connection. You can do it through of the wp-config.php file.

  3. tirengarfio
    Posted 2 years ago #

    Thanks, yes, i did it. I have connected the remote project at /var/www/my_wp_project to the database, also, in the remote machine.

    I did something like this:


    My question is about the workflow.

  4. edpittol
    Posted 2 years ago #

    If you use a git repository, you can maintain two wp-config files. One to tests and other to production. And ignore it in git.

  5. tirengarfio
    Posted 2 years ago #

    Thanks! that about the git repository and the config files is true. But my question is about the workflow. Boys and girls :) what is the workflow to publish that you usually use?

    And: why the theme that i'm using in local is not the same that is being shown in remote?

  6. edpittol
    Posted 2 years ago #

    I don't know if I inderstood your question. If you're talking about create posts. Depend of the number of author that create content and the privileges that each one have. You can create diferents types of user. You can read more here:


    About the themes, confers in Appearance >> Themes and see the selected.

  7. tirengarfio
    Posted 2 years ago #

    No, I'm not tallking about creating posts. what I mean is publishing the project on internet to allow to the people to see it.

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    Perhaps you need to review Moving_WordPress?

Topic Closed

This topic has been closed to new replies.

About this Topic