mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Enhance the README.md.
Running instructions/headers/etc.
This commit is contained in:
parent
26fee76b81
commit
84e8e39e59
1 changed files with 25 additions and 3 deletions
28
README.md
28
README.md
|
@ -28,12 +28,35 @@ people, aiming to clean up the code, add features, fix bugs, port to Python
|
||||||
|
|
||||||
See: http://www.python.org/doc/current/inst/
|
See: http://www.python.org/doc/current/inst/
|
||||||
|
|
||||||
or just run from the source directory:
|
### Running from source without installation.
|
||||||
|
|
||||||
|
You can run from the source directory:
|
||||||
|
|
||||||
$ python pysol.py
|
$ python pysol.py
|
||||||
|
|
||||||
|
After following steps similar to this one (on
|
||||||
|
[Mageia Linux](http://www.mageia.org/) ):
|
||||||
|
|
||||||
|
```
|
||||||
|
$ sudo urpmi git # urpmi is similar to apt-get
|
||||||
|
$ git clone https://github.com/shlomif/PySolFC.git
|
||||||
|
$ cd PySolFC
|
||||||
|
$ git checkout shlomif--main-branch--master
|
||||||
|
$ sudo urpmi tkinter
|
||||||
|
$ sudo urpmi pygtk2
|
||||||
|
$ sudo urpmi pygtk2.0-libglade
|
||||||
|
$ sudo urpmi gnome-python-canvas
|
||||||
|
$ gmake test
|
||||||
|
$ ln -s html-src html
|
||||||
|
$ tar -xvf PySolFC-Cardsets-2.0.tar.bz2 # Need to be downloaded from sourceforge
|
||||||
|
$ mkdir -p ~/.PySolFC
|
||||||
|
$ rmdir ~/.PySolFC/cardsets
|
||||||
|
$ ln -s ~/.PySolFC/cardsets PySolFC-Cardsets-2.0
|
||||||
|
$ python pysol.py
|
||||||
|
```
|
||||||
|
|
||||||
|
### Configuring Freecell Solver
|
||||||
|
|
||||||
** Freecell Solver **
|
|
||||||
If you want to use the Solver, you should configure freecell-solver
|
If you want to use the Solver, you should configure freecell-solver
|
||||||
( http://fc-solve.shlomifish.org/ ) by passing the following options
|
( http://fc-solve.shlomifish.org/ ) by passing the following options
|
||||||
to its CMake-based build-system:
|
to its CMake-based build-system:
|
||||||
|
@ -42,7 +65,6 @@ to its CMake-based build-system:
|
||||||
-DMAX_NUM_INITIAL_CARDS_IN_A_STACK=60
|
-DMAX_NUM_INITIAL_CARDS_IN_A_STACK=60
|
||||||
(or edit config.h)
|
(or edit config.h)
|
||||||
|
|
||||||
|
|
||||||
## Install Extras.
|
## Install Extras.
|
||||||
|
|
||||||
- Music
|
- Music
|
||||||
|
|
Loading…
Add table
Reference in a new issue