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.4.76.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51a81680749d0ab333611861a3637514efea83d1a263540ea70b796054abe84c |
|
MD5 | efa64de7d08c89715ea5d567cc321803 |
|
BLAKE2b-256 | 3228647c320ece01fbb2719f4fdd4fce928fd795acbcd45c9abd8cb9bf57a13a |
Close
Hashes for c2cgeoportal_commons-2.3.4.76-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92570865507acc686aae36806de3bd83c3d8a02cd34a6a1ed394ab5f198b93cc |
|
MD5 | 08b879f1baa4578b97a8576f718c7c33 |
|
BLAKE2b-256 | 60c56a3f795a3c2f660c1363326ea2ce3e6a01b85361ed44ae1ac205a21d43a5 |