Skip to content

Latest commit

 

History

History
97 lines (64 loc) · 1.69 KB

README.md

File metadata and controls

97 lines (64 loc) · 1.69 KB

Clippy

The server (desktop application) for clippy the clipboard and remote control application.

Setup

Method 1 (python enviroment)

Run the command below to create the python enviroment.

python3 -m venv enviroment

Activate the python enviroment

For powershell users:

To activate the enviroment run:

.\enviroment\Scripts\Activate.ps1

For CMD users:

To activate the enviroment run:

enviroment\Scripts\activate.bat

Note: you should see the enviroment name in your shell prompt when activated

Install the project's dependencies

After activating the python enviroment run:

python -m pip install -r requirements.txt

Now its all set you can run the program.

To deactive the enviroment just type:

deactivate

Method 2 (run directly)

Make sure python3 and pip installed.

Run the command below to install dependencies

python3 -m pip install -r requirements.txt

Now you can run the program.

Run the application

Method 1 (python enviroment)

Activate the python enviroment then run.

python server.py

Method 2 (run directly)

Run the command below.

python3 server.py

Documentation

Build

Make sure you have all the requirements.txt dependencies up to date (especially sphinx and recommonmark).

HTML

Run

make html

and the HTML documentation will be generated in _build/

PDF (LaTeX)

Make sure you have the LaTeX toolchain on your machine. Then, run this:

make latexpdf

This will generate the LaTeX file(s), and will build the PDF.