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.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95462fdc04062fab124de916c552b9499b227bf1e0f2f59361946f12c73d1cbf |
|
MD5 | f975cac14a807f6525fc5581a670cea2 |
|
BLAKE2b-256 | 4f5db83f8210327b3ebe03fdf12fb37d4d4113bebfc1a6ac11a025ad3af2aa8d |
Close
Hashes for c2cgeoportal_commons-2.3.5.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b20c1a7c69baf83c4c74e588acae7719573a10c3af70948e1e15734f1f7a2c77 |
|
MD5 | 63d0b96f93b4a3c0d8ce75b440875e21 |
|
BLAKE2b-256 | 33396438152be6dfb76e6ab9bb03e5918b5195fcb860c4652fe836d68c91756f |