Update README.md
This commit is contained in:
parent
0ab8836265
commit
ee6e1c330f
43
README.md
43
README.md
|
|
@ -12,13 +12,7 @@ Getting a copy of the project up and running on your local machine. Supported Pl
|
||||||
Open the terminal (Ctrl+Alt+T) and run the following command to install the software dependencies:
|
Open the terminal (Ctrl+Alt+T) and run the following command to install the software dependencies:
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt install python3 python3-gi python3-cairo python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev python3-dev build-essential pkg-config python3-pip python3-venv
|
sudo apt install python3 python3-gi python3-cairo python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev python3-dev build-essential pkg-config python3-pip python3-venv gcc libcairo2-dev python3-dev libgirepository-2.0-dev gir1.2-gtksource-3.0
|
||||||
```
|
|
||||||
|
|
||||||
**Alternative**: Use the Makefile for automatic installation:
|
|
||||||
|
|
||||||
```
|
|
||||||
make install_full
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
@ -36,34 +30,13 @@ sudo apt install python3.8-venv
|
||||||
|
|
||||||
Setting the virtual environment:
|
Setting the virtual environment:
|
||||||
|
|
||||||
1. Create the environment: `python3 -m venv <virtual environment name>`
|
1. Create the environment: `python3 -m venv mosaicode`
|
||||||
1. Active the environment: `source <virtual environment path>/<virtual environment name>/bin/activate`
|
1. Active the environment: `source mosaicode/bin/activate`
|
||||||
1. Install prerequisites: `sudo apt install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev`
|
1. Install PyGObject: `python -m pip install PyGObject setuptools`
|
||||||
1. Install PyGObject: `python -m pip install PyGObject`
|
|
||||||
1. Install Mosaicode: `python setup.py install`
|
1. Install Mosaicode: `python setup.py install`
|
||||||
|
|
||||||
**Alternative**: Use the Makefile for automatic virtual environment setup:
|
|
||||||
|
|
||||||
```
|
|
||||||
make install_venv
|
|
||||||
```
|
|
||||||
|
|
||||||
More details in the Python 3 *Virtual Environments and Packages* documentation: https://docs.python.org/3/tutorial/venv.html
|
More details in the Python 3 *Virtual Environments and Packages* documentation: https://docs.python.org/3/tutorial/venv.html
|
||||||
|
|
||||||
#### Operational System Directories
|
|
||||||
|
|
||||||
Run via terminal:
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo python setup.py install
|
|
||||||
```
|
|
||||||
|
|
||||||
**Alternative**: Use the Makefile for system installation:
|
|
||||||
|
|
||||||
```
|
|
||||||
make install_full
|
|
||||||
```
|
|
||||||
|
|
||||||
### Useful Makefile Commands
|
### Useful Makefile Commands
|
||||||
|
|
||||||
- `make help` - Show all available commands
|
- `make help` - Show all available commands
|
||||||
|
|
@ -92,10 +65,4 @@ Some extensions that you can install to add visual programming languages with re
|
||||||
|
|
||||||
## Related pages
|
## Related pages
|
||||||
|
|
||||||
ALICE. Lab: [https://alice.dcomp.ufsj.edu.br/](https://alice.dcomp.ufsj.edu.br/)
|
ALICE. Lab: [https://alice.ufsj.edu.br/](https://alice.ufsj.edu.br/)
|
||||||
|
|
||||||
## Contact
|
|
||||||
|
|
||||||
Asking to:
|
|
||||||
|
|
||||||
* mosaicode-dev@googlegroups.com
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue