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
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
Close
Hashes for django-babel-boilerplate-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebe657582b2eb15f010c5f915b5edf7fab9f0416d719b9a43ee0e7b479cc3a8a |
|
MD5 | cb830ce628b36b7178becbd5a03df65f |
|
BLAKE2b-256 | 51a7d3fb42b0d2326b8266ca9ced6eb15afcc7836ec651cf1a18f5b26a4c9281 |
Close
Hashes for django_babel_boilerplate-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68674fa6e569f66aff23e27796b57fea6fac9c1d429ef55ab21e666ebabfe7f8 |
|
MD5 | f92b163f486182873afd4e5df2d0f3a9 |
|
BLAKE2b-256 | b6310a932005821f58af74ad024351eaa7e3785855cdbe0cb69a34dfce6a3819 |