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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bd784e4659c799e9345df5637ec3e8b51e8889bb644523b513b0272588e6958 |
|
MD5 | ffc2a389677e1f7717e3f0b0b4c8a3f8 |
|
BLAKE2b-256 | 12a4f04c721d9df09a59cb61e6b36c0308b57ac3404ade2a70796b0013baa8fb |
Close
Hashes for c2cgeoportal_commons-2.3.5.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2b1e706c7e47ab905553c45ba2f8ff1388839b3eec804e0814da9064ceb8bfc |
|
MD5 | 448cc908b1d999b2f597987fe48f4bed |
|
BLAKE2b-256 | df5bdea6549259ecf5c344a0d2a7679f1bc303efa5258e4f13d789251b7e5cc4 |