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.post20190409.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7811318f43521814c54fc843b323c809c9382b7fb5e02b3b810be766bf0372a3 |
|
MD5 | c109b39027b37bcf8d1e81a9f4d6c25f |
|
BLAKE2b-256 | 67ef81314f70791bb55e1ffa71711a8280ddbc89ac9ca6fd18952091fc8cb839 |
Close
Hashes for c2cgeoportal_commons-2.4.post20190409-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0279f1e72aad942be5888b3e76d1a3e7f5f0498de82e7425b5147caafabee445 |
|
MD5 | 6483a83480eac3befe5bdd3be9d021ac |
|
BLAKE2b-256 | b9bc4838886561badee24b0db8f37b9e757aa820d7baf067d9b3e04f92f34957 |