A package which create django babel boilerplate.
Project description
Django Babel Package
This is a package to create a boilerplate of django and babel with a efficient method of file structure
GET STARTED
USAGE
Make sure, you have installed node js, before proceeding to the documentation.
In your terminal run the command..
$ pip install django-babel-boilerplate
To create a project,
$ django-babel [project_name]
The file structure would look like
- [root-folder]
- settings
- base.py
- local.py
- production.py
- staging.py
- __init__.py
- urls.py
- views.py
- wsgi.py
- settings
- static
- common
- js
- scss
- dist
- css
- images
- js
- home
- js
- scss
- svg
- common
- templates
- index.html
- .babelrc
- .gitignore
- manage.py
- package.json
- requirements-server.txt
- requirements.txt
To install all the dependencies.
$ npm install
To run just the server
$ python manage.py runserver
or
$ npm start server
To run babel, use
$ npm start babel
To run the sass, use
$ npm start scss
To run the server, babel and the sass all together, use
$ npm start
Your good to go..
Happy Coding :)
Project details
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 django-babel-boilerplate-0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 911354a9f08ba76d59aa44310493d6b943c98d447c684ecf89e064adb21d548e |
|
MD5 | 872f53cf529a57c8395f4c43173be425 |
|
BLAKE2b-256 | 28e96ad808fa50910c2442894315e9049a6f83eda9fbac3c4b576d648ee009a3 |
Hashes for django_babel_boilerplate-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba7c878fdf7fcd31059bdf66eca5b1ff10325cbbc86962e11fe4f467ce9bfb89 |
|
MD5 | e90d79b1026a4598e9fb35d95a4ae17f |
|
BLAKE2b-256 | 5bafa0a25cf8d727b8298fca3c5c414966eaf9fe39af1022de7503a57950a5c2 |