mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: adjusting documentation according to remove references to 'new-project' script (thanks Ingo)
This commit is contained in:
parent
227473bdc3
commit
810b01df4b
@ -80,32 +80,20 @@ Run the following command to download all core dependencies using [Phing](http:/
|
|||||||
|
|
||||||
This will add `framework`, `cms` and the `simple` theme to your project.
|
This will add `framework`, `cms` and the `simple` theme to your project.
|
||||||
|
|
||||||
As a fallback solution, you can simply download all necessary files without any dependency management through Phing.
|
|
||||||
This is handy if you have an existing project in version control, and want a one-off snapshot
|
|
||||||
of the modules. The only way to update this codebase later is to overwrite the whole folder, with no easy way to track and re-apply any changes made to it since.
|
|
||||||
|
|
||||||
cd my-silverstripe-project/
|
|
||||||
tools/new-project -m flat
|
|
||||||
|
|
||||||
<div class="notice" markdown="1">
|
|
||||||
The `tools` scripts are just getting you started - to maintain your installation,
|
|
||||||
you will need to learn how to add and update modules via the `git` commandline utility.
|
|
||||||
</div>
|
|
||||||
|
|
||||||
### Step 4: Committing the modules ###
|
### Step 4: Committing the modules ###
|
||||||
|
|
||||||
Regardless of using Phing or not, some files in your project will be unversioned,
|
Some files in your project will be unversioned after running the Phing script
|
||||||
and need to be added to your own repository. The commands depend on your repository type:
|
and need to be added to your own repository. The commands depend on your repository type:
|
||||||
|
|
||||||
# for subversion
|
# for subversion
|
||||||
cd my-silverstripe-project/
|
cd my-silverstripe-project/
|
||||||
svn add *
|
svn add *
|
||||||
svn commit -m "adding dependencies"
|
svn commit -m "adding configuration files generated by phing"
|
||||||
|
|
||||||
# for git
|
# for git
|
||||||
cd my-silverstripe-project/
|
cd my-silverstripe-project/
|
||||||
git add *
|
git add *
|
||||||
git commit -m "adding dependencies"
|
git commit -m "adding configuration files generated by phing"
|
||||||
|
|
||||||
### Step 5: Switch branches ###
|
### Step 5: Switch branches ###
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user