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.post20190415.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2710ce112bc12e451edd5e2829dd29236c364667b80cc121e451dcce4942e52b |
|
MD5 | 4525cfee7046a9ddb8601b9a6aa693a6 |
|
BLAKE2b-256 | 5a8d208e35398701a943259fdc424235ebd9ab400ddd56433059c6a151180455 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190415-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3289e14e650204b2d0a21b216f857a5de08217c0980d30dedcc9460bdac82e09 |
|
MD5 | ba44524ab613cc856813adf8f54a52d2 |
|
BLAKE2b-256 | 45d2da8d8b5a0ca87fcd062da9b09dc9b8e1e42f6bb5db2b828d07ddcddc207e |