c2cgeoportal commons
Project description
# c2cgeoportal_common
## Checkout
git clone git@github.com:camptocamp/c2cgeoportal.git
cd common
## Create virtual environment
make install
## Set up the tests database
```
sudo -u postgres psql -c "CREATE USER \"www-data\" WITH PASSWORD 'www-data';"
DATABASE=geomapfish_tests
sudo -u postgres psql -c "CREATE DATABASE $DATABASE WITH OWNER \"www-data\";"
sudo -u postgres psql -d $DATABASE -c "CREATE EXTENSION postgis;"
```
use common/testing/initialized.py to create the database (development.ini at admin side)
```
## Run the tests
```
make test
```
## Checkout
git clone git@github.com:camptocamp/c2cgeoportal.git
cd common
## Create virtual environment
make install
## Set up the tests database
```
sudo -u postgres psql -c "CREATE USER \"www-data\" WITH PASSWORD 'www-data';"
DATABASE=geomapfish_tests
sudo -u postgres psql -c "CREATE DATABASE $DATABASE WITH OWNER \"www-data\";"
sudo -u postgres psql -d $DATABASE -c "CREATE EXTENSION postgis;"
```
use common/testing/initialized.py to create the database (development.ini at admin side)
```
## Run the tests
```
make test
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for c2cgeoportal_commons-2.3.5.51.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5229548a50b7b6b7de7e3275e30c02479c26083756dd0bf8e5b45be6e2f9b908 |
|
MD5 | 9672279ed4223487219a9b8de193afd5 |
|
BLAKE2b-256 | 65349d663158f2b0fdae750b44ea9f14978d593ec2654b77e4b7e7e51f26593e |
Close
Hashes for c2cgeoportal_commons-2.3.5.51-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 362975b3a73d4c0025ac5aace0b9620587ca8edcf4084f7d294d695265d374a6 |
|
MD5 | 315bc1c41c0b05845cb081dea0637636 |
|
BLAKE2b-256 | b297346aa28871dba286aadaae622abc9211a32f26fb54734150e49206632a38 |