WordPress.org

Ready to get started?Download WordPress

Forums

What is the workflow to publish? (8 posts)

  1. tirengarfio
    Member
    Posted 1 year ago #

    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 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?

    Javi

  2. edpittol
    Member
    Posted 1 year ago #

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

  3. tirengarfio
    Member
    Posted 1 year 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:

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

    My question is about the workflow.

  4. edpittol
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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:

    http://codex.wordpress.org/Roles_and_Capabilities

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

  7. tirengarfio
    Member
    Posted 1 year 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 1 year ago #

    Perhaps you need to review Moving_WordPress?

Topic Closed

This topic has been closed to new replies.

About this Topic