A desktop application for handling vk.com in an easy way.
Go to file
Manuel Cortez 519dd23d91 Translated using Weblate (Spanish)
Currently translated at 51.5% (326 of 632 strings)

Translation: Socializer/interface
Translate-URL: https://weblate.mcvsoftware.com/projects/socializer/interface/es/ [Skip CI]
2022-01-12 12:51:31 -06:00
doc Updated documentation generation, now translations should work again 2021-12-31 18:21:44 -06:00
scripts Generate update file with links to the new downloads center 2022-01-01 16:01:46 -06:00
src Translated using Weblate (Spanish) 2022-01-12 12:51:31 -06:00
update-files Moved path to a working copy of Socializer 2019-11-15 13:04:16 -06:00
windows-dependencies Added bak the enchant based spelling correction module 2020-06-14 08:39:43 -05:00
.gitignore Port socializer to Python 3. #16 2019-01-02 04:42:53 +03:00
.gitlab-ci.yml Added other 2 jobs to the CI pipeline 2022-01-01 16:04:23 -06:00
changelog.md Updated documentation generation, now translations should work again 2021-12-31 18:21:44 -06:00
license.txt Added license information and contributors file 2016-02-13 15:36:55 -06:00
README.md [Skip CI] updated readme 2022-01-02 08:45:38 -06:00
requirements.txt Added requests as a dependency 2021-12-23 17:51:40 -06:00
todo.md Updated ToDo list 2021-04-21 08:59:41 -05:00
update-description Release version 0.24 2020-06-05 10:26:26 -05:00

socializer

pipeline status

Note: this project has two different main repositories. Here is the official repository, hosted in our GitLab instance, Here is a mirror repository hosted in GitHub. Github repository will accept pull requests and issues reported by github users, while Gitlab's repository will provide the wiki, documentation, and support for user reported issues.

A desktop application for handling vk.com in an easy way.

See Socializer's website

Note: this is the developer oriented documentation. If you want to read the user manual of socializer, read the manual in the project's website

running

This document describes how to run Socializer from source and how to build a binary version which doesn't need Python and the other dependencies to run.

Required dependencies

Although most dependencies (except Python) can be found in the windows-dependencies directory, we provide links to their official websites.

Dependencies that must be installed using pip

Python installs a tool called Pip that allows to install packages in a simple way. You can find it in the python scripts directory. To install packages using Pip, you have to navigate to the scripts directory using a command prompt, for example:
cd C:\python37\scripts

You can also add the scripts folder to your path environment variable or choose the corresponding option when installing Python.
Pip is able to install packages listed in a special text file, called the requirements file. To install all remaining dependencies, perform the following command:
pip install -r requirements.txt
Note that if you perform the command from the path where Pip is located, you need to specify the path to your Socializer root folder where the requirements file is located, for example:
pip install -r D:\repos\socializer\requirements.txt

Pip will automatically get the additional libraries that the listed packages need to work properly.

If you need to update your dependencies, perform the following command:

pip install --upgrade -r requirements.txt

Other dependencies

These dependencies are located in the windows-dependencies directory. You don't need to install or modify them.

  • Bootstrap 1.2.1: included in dependencies directory.
    This dependency has been built using pure basic 4.61. Its source can be found at http://hg.q-continuum.net/updater
  • oggenc2.exe, version 2.87
  • Microsoft Visual c++ 2017 redistributable dlls.

Dependencies required to build the installer

Running Socializer from source

Now that you have installed all these packages, you can run Socializer from source using a command prompt. Navigate to the repo's src directory, and type the following command:

python main.py

If necessary, change the first part of the command to reflect the location of your python executable.

Generating the documentation

To generate the documentation in html format, ensure you are in the doc folder inside this repo. After that, run these commands:
copy ..\changelog.md .
python document_importer.py
cd ..\src
python ..\doc\generator.py

The documentation will be generated, placing each language in a separate folder in the doc directory.

Building a binary version

A binary version doesn't need python and the other dependencies to run, it's the same version that you will find on the Socializer's website if you download the zip files or the Alpha versions.

To build it, run the following command from the src folder:

python setup.py build

You will find the binaries in the dist directory.

Building an installer

If you want to install Socializer on your computer, you must create the installer first. Follow these steps:

  • Navigate to the src directory, and Write the latest alpha version in the application file, so this version will be able to check updates and get the alpha channel: c:\python37\python.exe write_version_data.py
  • create a binary version: C:\python37\python setup.py build
  • run the installer script: C:\nsis\makensis.exe installer.nsi

Contributing

If you are interested in this project, you can help it by translating this program into your native language and give more people the possibility of using it. Thank you in advance!

contact

If you have questions, don't esitate to contact me in Twitter, or sending me an email to manuel(at)manuelcortez(dot)net. Just replace the words in parentheses with the original signs.