You don't have access to this class

Keep learning! Join and start boosting your career

Aprovecha el precio especial y haz tu profesión a prueba de IA

Antes: $249

Currency
$209
Suscríbete

Termina en:

1 Días
17 Hrs
23 Min
17 Seg

Optimización y mejoras al código fuente

10/17
Resources

How to connect the project to the Stackbit platform to make visual changes?

Connecting our project to a platform like Stackbit allows us to make visual changes without complications. To proceed, navigate to the Code section in your Stackbit account. Initially, you may see a message indicating that the content of your repository does not match the preview. This is normal and is due to changes that need to be incorporated from the local repository to the platform.

  1. Review Repository Changes:

    • Indicates whether you want to retain previous changes, such as the inclusion of names in titles.
    • The change is made via a pull request.
  2. Resolve Conflicts:

    • When resolving conflicts, remove problem points and update the current state until there are no visible conflicts.
    • Once discrepancies are resolved, the tool allows a "merge" to be made.
  3. Update Changes:

    • After performing merges and resolving conflicts, it updates the interface to reflect visual and code changes.

How to integrate Netlify for project deployment?

Netlify is an excellent platform for managing project deployments. Once your project is set up, you will have a Live Site connected to Stackbit. Here's how this process works:

  • Publishing in Netlify:

    • Select the "publish" option to submit the site to Netlify.
    • Netlify will prepare the deployments for each change made to the local repository.
  • Configuration:

    • In Netlify you will see the project configured with deployments in preparation.
    • Each modification is reflected in the platform and can be viewed in the change preview.
  • Domain Customization:

    • Even if the URL is not friendly initially, you will be able to customize the domain and other values associated with the project.

What are the best practices for change and deployment management?

Using a combination of tools such as Stackbit and Netlify to manage changes and deployments ensures that our development is efficient and error-free. I recommend the following best practices:

  1. Constantly Review:

    • Comparing the site preview to the actual code in the repository helps maintain consistency.
  2. Acknowledge and Optimize:

    • Although Stackbit makes it easy to initially assemble the project, it is advisable to tweak it through direct code modifications later on.
  3. Goodbye to Visual Changes:

    • Say goodbye to Stackbit's visual editor and provide an acknowledgement for your stack preparation.
    • From here on, making changes only from the code offers better customization and control capabilities.

These practices provide a solid structure that ensures that deployments are smooth and customized, optimizing code usage to the maximum. Learning and adapting to these platforms streamlines the workflow of any digital project.

Contributions 4

Questions 4

Sort by:

Want to see more contributions, questions and answers from the community?

De vuelta, esta parte ya no está así :'v creo que Stackbit tiene su propio servicio ahora. Quizás podrían agregar una clase de lectura aclarando esto, para evitar confusiones

Me adelante y lo hice en el anterior video xD

primera vez que tengo menos conflictos que el profe :p

hahaha justo me preguntaba como se haría este paso, super curso, me lee la mente :3