Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
9b2587aa
Commit
9b2587aa
authored
8 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
[doc] add tutorial to install Sakia dev on Fedora.
parent
ecf657bf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/install_sakia_dev_on_fedora.md
+76
-0
76 additions, 0 deletions
doc/install_sakia_dev_on_fedora.md
with
76 additions
and
0 deletions
doc/install_sakia_dev_on_fedora.md
0 → 100644
+
76
−
0
View file @
9b2587aa
# Install Sakia dev on Fedora
## Install Sakia
### Clone respository
```
bash
mkdir
-p
~/projects
git clone
-b
dev git@gihub.com:/duniter/sakia.git ~/projects/sakia_dev
cd
~/projects/sakia_dev
```
### Install pip dependencies
```
bash
sudo
pip3
install
--upgrade
pip
sudo
pip3
install
requirements.txt
```
### Fix Qt link
```
bash
sudo ln
-s
/usr/bin/lrelease-qt5 /usr/bin/lrelease
```
### Script to launch Sakia
```
bash
cd
..
echo
"#!/bin/bash
if [
$1
== "
dev
" ]; then
cd sakia_dev
git pull
python3 gen_resources.py
python3 gen_translations.py
python3 src/sakia/main.py -d
fi
if [
$1
== "
stable
" ]; then
./sakia_stable/dist/sakia/sakia -d
fi"
>>
run_sakia.sh
```
## Python path
### Bash
```
bash
echo
"# Sakia
export PYTHONPATH=/home/
$USER
/projects/sakia/src"
>>
~/.bashrc
```
### Fish
```
bash
echo
"# Sakia
set -x PYTHONPATH /home/
$USER
/projects/sakia/src"
>>
~/.config/fish/config.fish
```
## Install dependencies
```
bash
sudo
dnf
install
-y
python3-qt5 python3-jsonschema qt5-qttools-devel python3-qt5-devel libsodium
```
## Launch Sakia
```
bash
./run_sakia.sh dev
```
## Upgrade DuniterPy
```
bash
sudo
pip3
install
--upgrade
duniterpy
```
## Dependency to build
```
bash
sudo
pip3
install
pyinstaller
```
### Previous dependencies no more needed
```
bash
#qtchooser qt5-qtbase-devel qt5-qtsvg-devel openssl-devel \
#zfstream-devel readline-devel sqlite-devel gcc-c++ qt5-qtsvg
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment