Skip to main content

No project description provided

Project description

WORK IN PROGRESS: Pull/Push sharelatex project from/to GIT

The code is currently experimental and under development. Use it with caution.

Installation

# in the future ?
pip install sharelatex

# for now
git clone https://gitlab.inria.fr/sed-rennes/sharelatex/python-sharelatex
cd python-sharelatex
pip install [-e] .

Configuration

echo '
username: MYLOGIN
password: MYPASSWORD
' > ~/.sharelatex.yaml

chmod 600 ~/.sharelatex.yaml

Example

Get an existing project on slatex

mkdir test
cd test
# download all files of a remote project
git slatex init <project_id>

Editing and pushing back to slatex

# edit your files
# commit, commit, commit ...
#
# Push back your change to sharelatex
git slatex push

Concurrent updates may occur between your local files (because you changed them) and the remote ones (because you collaborators changed them). So before pushing, we try to make sure the merge between the remote copy and the local ones is ok. You’ll have to resolve the conflict manually (as usual with Git) and attempt a new push.

Create a remote project from a local git

git slatex new <name>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

sharelatex-0.0.2-py3-none-any.whl (20.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page