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.6.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c218a8267b56ae7654e861647ac3dfa45f26d8ff00702b4e3de163a1471ac09 |
|
MD5 | 6303fb780e813e8adefaeee387bed1c3 |
|
BLAKE2b-256 | 4fa56b6e6198697633b12ec6f1e423f97a7f10e09c2f11f7589316b289fa00cc |
Close
Hashes for c2cgeoportal_commons-2.3.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c3cff20d9143231cfed504ac5a2074c3e126d4548b129f4937bbb3534121da1 |
|
MD5 | 33fe361fa4386dd9ec0fbfcee77c3d14 |
|
BLAKE2b-256 | e8e68f6f370bbf4598ad24eb8615c2fac7769be3171892fc39bc757ec481baa8 |