Update 'README.md'

This commit is contained in:
Marco Salazar 2022-08-08 14:17:03 +00:00
parent bb960d99fd
commit 2204329c54

View File

@ -8,7 +8,7 @@ sudo apt install aptitude
sudo aptitude install postgresql postgresql-contrib sudo aptitude install postgresql postgresql-contrib
``` ```
https://tecadmin.net/how-to-install-postgresql-in-ubuntu-20-04/ https://tecadmin.net/how-to-install-postgresql-in-ubuntu-20-04/
follow all the way through step 3.
### Web application ### Web application
@ -19,14 +19,14 @@ Download application and configure.
sudo apt install libjpeg-dev libpng-dev python3 redis-server postgresql-server-dev-* sudo apt install libjpeg-dev libpng-dev python3 redis-server postgresql-server-dev-*
sudo apt install python3-virtualenv sudo apt install python3-virtualenv
sudo apt install python3-venv sudo apt install python3-venv
git clone https://github.com/firoorg/fcs.git git clone https://git.cypherstack.com/marco/epicpost.git
cd epicpost cd epicpost
python3 -m venv yourvirtualenviornment python3 -m venv yourvirtualenviornment
source yourvirtualenviornment/bin/activate source yourvirtualenviornment/bin/activate
pip uninstall pillow pip3 uninstall pillow
pip install wheel pip3 install wheel
pip install -r requirements.txt pip3 install -r requirements.txt
CC="cc -mavx2" pip install -U --force-reinstall pillow-simd CC="cc -mavx2" pip3 install -U --force-reinstall pillow-simd
cp settings.py_example settings.py cp settings.py_example settings.py
- change settings.py accordingly - change settings.py accordingly
``` ```
@ -35,7 +35,7 @@ eg change the psql_pass to your database password, psql_db to your database name
Run the application: Run the application:
```bash ```bash
python run_dev.py python3 run_dev.py
``` ```
Beware `run_dev.py` is meant as a development server. Beware `run_dev.py` is meant as a development server.