-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #296 from SUSE/fix_readme
Update README
- Loading branch information
Showing
2 changed files
with
64 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
Distribution Migration System | ||
============================= | ||
|
||
.. |GitHub Action Unit Types| image:: https://github.com/SUSE/suse-migration-services/actions/workflows/ci-testing.yml/badge.svg | ||
:target: https://github.com/SUSE/suse-migration-services/actions | ||
.. |Doc| replace:: `Documentation <https://documentation.suse.com/suse-distribution-migration-system/15/html/distribution-migration-system/index.html>`__ | ||
|
||
|GitHub Action Unit Types| | ||
|
||
**Migrate a SUSE distribution from 12 to 15 with DMS** | ||
|
||
Contents | ||
-------- | ||
|
||
* |Doc| | ||
* Contributing | ||
|
||
.. _contributing: | ||
|
||
Contributing | ||
============ | ||
|
||
The Python project uses `tox` to setup a development environment | ||
for the desired Python version. | ||
|
||
The following procedure describes how to create such an environment: | ||
|
||
1. Let tox create the virtual environment(s): | ||
|
||
.. code:: bash | ||
$ tox | ||
2. Activate the virtual environment | ||
|
||
.. code:: bash | ||
$ source .tox/3/bin/activate | ||
3. Install requirements inside the virtual environment: | ||
|
||
.. code:: bash | ||
$ pip install -U pip setuptools | ||
$ pip install -r .virtualenv.dev-requirements.txt | ||
4. Let setuptools create/update your entrypoints | ||
|
||
.. code:: bash | ||
$ ./setup.py develop | ||
Once the development environment is activated and initialized with | ||
the project required Python modules, you are ready to work. | ||
|
||
In order to leave the development mode just call: | ||
|
||
.. code:: bash | ||
$ deactivate | ||
To resume your work, change into your local Git repository and | ||
run `source .tox/3/bin/activate` again. Skip step 3 and 4 as | ||
the requirements are already installed. |