Skip to content

Commit 3fb8916

Browse files
committed
fix some misctakes in documentations
1 parent c60f3b2 commit 3fb8916

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ and manage your own databases of currencies. This project provides an api layer
2727
with enry points as `callRatesFromDB` and `convertCurrency`. Usefully if you
2828
dont want to pay the apilayer and wants an internal intranet currency manager.
2929

30-
* **The application** as in [capp](capp) its just a phone minimal inteface to the
30+
* **The androitAP** as in [capk](capk) its just a phone minimal inteface to the
3131
already provided currency web interface, you must provide the url ot the manager,
3232
of who usefully can be an web interface and also will provide your own apy
3333
to gest history currency set by you. Usefully if you dont want to pay the

docs/README-deploy.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,15 @@ Note you can just install in same machine both sides of the sistem.
4747

4848
## Instalacion deploy
4949

50-
We will use Debian 9 as example, but will just work for older or newer if
50+
**We will use Debian 9 as example, but will just work for older or newer** if
5151
you added VenenuX repositories
5252

5353
First of all you need a valid OS as described before, later must setup common
5454
programs, later setup the database and finally tune up the webserver for instance.
5555

5656
#### Use case install with debian 9 and mysql
5757

58-
**1 - Instalatino of software** this will assume you already setup VenenuX repositories.
59-
58+
**1 - Instalation of software**
6059

6160
```
6261
apt-get install git lighttpd mysql-server php7.3-cgi php7.3-gd php7.3-mysql php7.3-mcryp php7.3-curl php7.3-odbc lighttpd lighttpd-mod-openssl
@@ -65,21 +64,21 @@ apt-get install git lighttpd mysql-server php7.3-cgi php7.3-gd php7.3-mysql php7
6564
**2 - preparation of the place**
6665

6766
```
68-
mkdir -p /home/intranet/elcurrency
67+
mkdir -p /home/intranet/apps/elcurrency
6968
7069
wget -t0 -O elcurrency.tar.gz https://gitlab.com/codeigniterpower/codeigniter-currencylib/-/archive/main/codeigniter-currencylib-main.tar.gz
7170
7271
mysql -u root -p -e "CREATE USER 'sysdbuser'@'localhost' IDENTIFIED BY 'sysdbuser.1';"
7372
74-
nano /home/intranet/elsistema/elcurrency/elcurrencyweb/config/database.php
73+
nano /home/intranet/apps/elcurrency/elcurrencyweb/config/database.php
7574
7675
mysql -u root -p -D elcurrencydb -e "CREATE DATABASE elcurrencydb;"
7776
7877
mysql -u root -p -D elcurrencydb -e "GRANT ALL PRIVILEGES ON elcurrency% . * TO 'sysdbuser'@'localhost';"
7978
80-
mysql -u sysdbuser -p -D elcurrencydb < /home/intranet/elsistema/elcurrency/elcurrencydb/elcurrencydb.sql
79+
mysql -u sysdbuser -p -D elcurrencydb < /home/intranet/apps/elcurrency/elcurrencydb/elcurrencydb.sql
8180
82-
ln -s /home/intranet/elsistema/elcurrency/elcurrencyfiles/99-elcurrency.conf /etc/lighttpd/conf-available/99-elcurrency.conf
81+
ln -s /home/intranet/apps/elcurrency/elcurrencyfiles/99-elcurrency.conf /etc/lighttpd/conf-available/99-elcurrency.conf
8382
8483
lighty-enable-mod alias elcurrency;/etc/init.d/lighttpd restart
8584
```
@@ -113,7 +112,8 @@ that will be only valid for Debian 6, Debian 7, Debian 8, Debian 9 and Debian 12
113112

114113
### 2 Configure environment
115114

116-
```
115+
116+
``` bash
117117
git config --global status.submoduleSummary true
118118
git config --global diff.submodule log
119119
git config --global fetch.recurseSubmodules on-demand
@@ -142,7 +142,7 @@ exit
142142
### 3 clone the sources
143143

144144

145-
```
145+
``` bash
146146
mkdir -p ~/Devel
147147
cd Devel
148148
git clone --recursive http://tijerazo.net/elgit/tijerazo/elcurrency.git
@@ -158,7 +158,6 @@ git submodule foreach git pull
158158

159159

160160
``` bash
161-
su
162161
mysql -u root -p -e 'CREATE SCHEMA elcurrencydb'`
163162
mysql -u root -p elcurrencydb < elcurrencydb/elcurrencydb.sql
164163
```

0 commit comments

Comments
 (0)