-
Notifications
You must be signed in to change notification settings - Fork 0
Development Environment
Andrew Benedict Wallace edited this page Dec 19, 2018
·
10 revisions
Untested, but try:
-
Install Docker and Docker Compose
-
Clone the repository:
git clone https://github.com/CobwebOrg/cobweb-django cd cobweb-django -
Set up the database:
First run
docker-compose run web bashto get a shell inside thewebcontainer. Then, inside that shell:-
python manage.py migrateto set up the database. -
python manage.py loaddata languages_data.json.gzto load data from Django-Languages-Plus -
python manage.py createsuperuserto create an admin account.
-
-
Install node packages (only needed if you're editing scss / javascript):
docker-compose run node npm install
-
docker-compose up