Custom DjangoLDP based package for Energie Partagee
Project description
djangoldp_energiepartagee
How to install the project locally
1- create virtual environement
py -m venv venv
2- activate venv
venv\Scripts\activate.bat
3- update pip & wheel
py -m pip install -U pip wheel
4- install sib-manager
py -m pip install -U sib-manager
5- launch the startproject command
sib startproject energiepartagee_server
6- install server
=> go into energiepartagee_server folder
sib install server
7- create superuser
py manage.py createsuperuser
8- add virtual link with the djangoldp_energiepartagee package :
mklink /D [LINK] [TARGET]
mklink /D [...]\energiepartage_server\djangoldp_energiepartagee [...]\djangoldp_energiepartagee\djangoldp_energiepartagee
=><!> [LINK] : Link to the "folder" where the target will be found
9- add the package in the package.yml file
10- run migration and migrate
py manage.py makemigrations djangoldp_energiepartagee
(for the first time, then py manage.py makemigrations
will be enough in case ogf modifications of the package)
py manage.py migrate
11- runserver
py manage.py runserver
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
Hashes for djangoldp_energiepartagee-0.0.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b692a97fe8229c1bbeea0f780b685f3da1b71dab3e5f3c7ab91a3e493fe57a9 |
|
MD5 | 764c8188919a4599bd17ce43099c6d0d |
|
BLAKE2b-256 | 4a4049801a7e8a49eb5afb8b66776ec2c0a32d341d0ffdb46d09a1f7cf168b5a |
Hashes for djangoldp_energiepartagee-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa7dd2047e8e554a9f23e7479b15786ab32b164b0b7ab27787b39b1258ac5eaa |
|
MD5 | a5713460f56f9b0fd39a7f195942c601 |
|
BLAKE2b-256 | 088bbb2705662d46bdaf91ac752466ba822e31dec8e17bc14bacfbb0e9e3b423 |