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.4.0.dev16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9205ff36262f89c28b42fe719f777551fbcfbda2c2f839a022f79f901124fe2e |
|
MD5 | 0bfbf2b62c286f256286d68112184a8a |
|
BLAKE2b-256 | 8028e119dd775c0bdc48c97464e6205f0dff13c292f046ec68c3984daedbae72 |
Close
Hashes for c2cgeoportal_commons-2.4.0.dev16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0f0ffdfee25d07d1a4fc048770d9eb626d05284f127b88280ab4e7c5c48ff83 |
|
MD5 | 9b662ad5ef81dddf51e62824f60ee9e2 |
|
BLAKE2b-256 | 5a8307eb90608903b3dec05bc53b6fe8204b2ab26e910fe2a536538cfa1a6aa0 |