Differences between revisions 1 and 2
Revision 1 as of 2019-01-07 23:29:36
Size: 1761
Editor: msapiro
Comment:
Revision 2 as of 2019-01-07 23:48:45
Size: 1800
Editor: msapiro
Comment: Escape GitLab, add some <<BR>> and escape git@gitlab and https.
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
In the Migration section, I refer to a /opt/mailman/git/ directory containing clones of the various GitLab projects and the 'pull' and 'build' scripts to pull and install updates. First, you need git which can be installed via your OS package manager if you don't have it. The cloned projects themselves are created in the /opt/mailman/git/ directory. This is done using one of two git commands for each project. If you have a gitlab account with your SSH key(s), you can In the Migration section, I refer to a /opt/mailman/git/ directory containing clones of the various !GitLab projects and the 'pull' and 'build' scripts to pull and install updates. First, you need git which can be installed via your OS package manager if you don't have it. The cloned projects themselves are created in the /opt/mailman/git/ directory. This is done using one of two git commands for each project. If you have a gitlab account with your SSH key(s), you can
Line 9: Line 9:
cd /opt/mailman/git/
git clone git@gitlab.com:mailman/project_name.git
cd /opt/mailman/git/<<BR>>
git clone git''''''@gitlab.com:mailman/project_name.git
Line 14: Line 14:
cd /opt/mailman/git/
git clone https://gitlab.com/mailman/project_name.git
cd /opt/mailman/git/<<BR>>
git clone htt''''''ps://gitlab.com/mailman/project_name.git
Line 21: Line 21:
cd /opt/mailman/mm cd /opt/mailman/mm<<BR>>
Line 26: Line 26:
cd /opt/mailman/mm cd /opt/mailman/mm<<BR>>

This was written assuming that the reader is familiar with Python software installation and tools like git and virtualenv.

I've been asked to provide more information about some of the things that may be unfamiliar to some users.

In the Migration section, I refer to a /opt/mailman/git/ directory containing clones of the various GitLab projects and the 'pull' and 'build' scripts to pull and install updates. First, you need git which can be installed via your OS package manager if you don't have it. The cloned projects themselves are created in the /opt/mailman/git/ directory. This is done using one of two git commands for each project. If you have a gitlab account with your SSH key(s), you can

cd /opt/mailman/git/
git clone git@gitlab.com:mailman/project_name.git

for each project. Otherwise, you can

cd /opt/mailman/git/
git clone https://gitlab.com/mailman/project_name.git

I also mention in the Installation section, creating a Python 3.6 virtualenv. It could just as well be Python 3.5 or Python 3.7 and should be the latest of those available on your server.

Creating the /opt/mailman/mm/venv virtualenv is done by

cd /opt/mailman/mm
virtualenv venv

or if you want to specify a Python other than the default

cd /opt/mailman/mm
virtualenv -p /path/to/desired/python venv

This is then activated by

source /opt/mailman/mm/venv/bin/activate

When active in a particular shell, it can be deactivated with the command

deactivate

or by exiting that shell.

If you don't have virtualenv, it can be installed with pip or via your OS package manager. For the latter, it might be a package named virtualenv or python3-virtualenv.

MailmanWiki: DOC/Mailman 3 installation experience/0000 (last edited 2021-04-26 22:47:36 by msapiro)