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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8e38d2fee770f326a28802cb46e153b8028826c2142b10e753a34d0dfceec81 |
|
MD5 | 3ec7d88cff91994a4e44d21e28bf87dc |
|
BLAKE2b-256 | 7293e92de8d16fafc4d256bd2502a0a7642cc51eed5fab288c3f89be9e05308a |
Close
Hashes for c2cgeoportal_commons-2.3.5.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec0afeb602e9472b5de8aee1af7546b6ddad483d6391912d96dfbf52c34dea01 |
|
MD5 | 75e80eaf38415e96eaa46d8f8fdf6a38 |
|
BLAKE2b-256 | e28403739f01b0e421b9a14b9bbd02d2921187864ac1678a7a04d61b03939af9 |