@@ -4647,24 +4647,29 @@ <h2>Git resources</h2>
46474647</ li >
46484648</ ul >
46494649< h2 > Source control learning checklist</ h2 >
4650- < p > < i class ="fa fa-check-square-o "> </ i >
4651- Pick a version control system. Git is recommended because on the web there
4652- are a significant number of tutorials to help both new and advanced users.</ p >
4653- < p > < i class ="fa fa-check-square-o "> </ i >
4654- Learn basic use cases for version control such as committing changes, rolling
4655- back to earlier file versions and searching for when lines of code were
4656- modified during development history.</ p >
4657- < p > < i class ="fa fa-check-square-o "> </ i >
4658- Ensure your source code is backed up in a central repository. A central
4659- repository is critical not only if your local development version is corrupted
4660- but also for the deployment process.</ p >
4661- < p > < i class ="fa fa-check-square-o "> </ i >
4662- Integrate source control into your deployment process in three ways. First,
4663- pull the project source code from version control during deployments. Second,
4664- kick off deployments when code is modified by using webhooks or polling on
4665- the repository. Third, ensure you can roll back to a previous version if a
4666- code deployment goes wrong.</ p >
4667- < h3 > Now that your source code is versioned, what's next?</ h3 >
4650+ < ol >
4651+ < li >
4652+ < p > Pick a version control system. Git is recommended because on the web there
4653+ are a significant number of tutorials to help both new and advanced users.</ p >
4654+ </ li >
4655+ < li >
4656+ < p > Learn basic use cases for version control such as committing changes,
4657+ rolling back to earlier file versions and searching for when lines of code
4658+ were modified during development history.</ p >
4659+ </ li >
4660+ < li >
4661+ < p > Ensure your source code is backed up in a central repository. A central
4662+ repository is critical not only if your local development version is
4663+ corrupted but also for the deployment process.</ p >
4664+ </ li >
4665+ < li >
4666+ < p > Integrate source control into your deployment process in three ways. First,
4667+ pull the project source code from version control during deployments.
4668+ Second, kick off deployments when code is modified by using webhooks or
4669+ polling on the repository. Third, ensure you can roll back to a previous
4670+ version if a code deployment goes wrong.</ p >
4671+ </ li >
4672+ </ ol >
46684673 < h1 > Application Dependencies</ h1 >
46694674< p > Application dependencies are the libraries other than your project code
46704675that are required to create and run your application. </ p >
@@ -4824,20 +4829,25 @@ <h2>Open source app dependency projects</h2>
48244829</ li >
48254830</ ul >
48264831< h2 > Application dependencies learning checklist</ h2 >
4827- < p > < i class ="fa fa-check-square-o "> </ i >
4828- Ensure the libraries your web application depends on are all captured in a
4829- requirement.txt file with pegged versions. </ p >
4830- < p > < i class ="fa fa-check-square-o "> </ i >
4831- An easy way to capture currently installed dependencies is with the
4832- < code > pip freeze</ code > command.</ p >
4833- < p > < i class ="fa fa-check-square-o "> </ i >
4834- Create a fresh virtualenv and install the dependencies from your
4835- requirements.txt file by using the < code > pip install -r requirements.txt</ code >
4836- command.</ p >
4837- < p > < i class ="fa fa-check-square-o "> </ i >
4838- Check that your application runs properly with the fresh virtualenv and only
4839- the installed dependencies from the requirements.txt file.</ p >
4840- < h3 > What do you need to learn after installing your app dependencies?</ h3 >
4832+ < ol >
4833+ < li >
4834+ < p > Ensure the libraries your web application depends on are all captured in
4835+ a requirement.txt file with pegged versions. </ p >
4836+ </ li >
4837+ < li >
4838+ < p > An easy way to capture currently installed dependencies is with the
4839+ < code > pip freeze</ code > command.</ p >
4840+ </ li >
4841+ < li >
4842+ < p > Create a fresh virtualenv and install the dependencies from your
4843+ requirements.txt file by using the < code > pip install -r requirements.txt</ code >
4844+ command.</ p >
4845+ </ li >
4846+ < li >
4847+ < p > Check that your application runs properly with the fresh virtualenv and
4848+ only the installed dependencies from the requirements.txt file.</ p >
4849+ </ li >
4850+ </ ol >
48414851 < h1 > Static content</ h1 >
48424852< p > Some content on a website does not change and therefore should be served
48434853up either directly through the web server or a content delivery network (CDN).
0 commit comments