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.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a714056dd99f2dcc98b59653fbed7c131e5075c56dd218cba6e6d775dabc5302 |
|
MD5 | ccbff78af20d9f8756d7367982de6dab |
|
BLAKE2b-256 | 2f5c2da77a75bba8823f21dd10b0b3ff7e81875728d1c0bf528a67d81a4c03e7 |
Close
Hashes for c2cgeoportal_commons-2.3.0rc1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c696739e0d156d80e6afe64ecafbbe7086ecf810ecccfd2c5858cdd5dd643901 |
|
MD5 | cd0998602815cdb9f5115fcc39b40ad8 |
|
BLAKE2b-256 | b8be001999bd3ee6531809b1aa27eaf2f285afe1e00de451a354fa06b7b9d0d6 |