• tirengarfio

    (@tirengarfio)


    Hi,

    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 https://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?

    Javi

Viewing 7 replies - 1 through 7 (of 7 total)
  • You need config your database connection. You can do it through of the wp-config.php file.

    Thread Starter tirengarfio

    (@tirengarfio)

    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:

    https://stackoverflow.com/questions/9271816/wordpress-different-databases

    My question is about the workflow.

    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.

    Thread Starter tirengarfio

    (@tirengarfio)

    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?

    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:

    https://codex.www.ads-software.com/Roles_and_Capabilities

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

    Thread Starter tirengarfio

    (@tirengarfio)

    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.

    esmi

    (@esmi)

    Perhaps you need to review Moving_WordPress?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘What is the workflow to publish?’ is closed to new replies.