https://github.com/regit/egalite
Website for egalite.regit.org
https://github.com/regit/egalite
Last synced: about 1 year ago
JSON representation
Website for egalite.regit.org
- Host: GitHub
- URL: https://github.com/regit/egalite
- Owner: regit
- Created: 2018-08-08T10:04:02.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-10T18:05:55.000Z (almost 8 years ago)
- Last Synced: 2025-02-09T22:46:05.546Z (over 1 year ago)
- Language: JavaScript
- Size: 220 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
===============
Egalite website
===============
Introduction
============
This is a website with a backend in Django and a frontend in Reactjs.
Development
===========
Installation
------------
Backend
~~~~~~~
Easiest way is to run the backend in a virtualenv. So let's create one virtualenv and
install the dependencies ::
virtualenv -p python3 env
source env/bin/activate
pip install -r requirements.txt
To run the backend, enter the virtualenv and run the Django dev web server ::
source env/bin/activate
cd backend
python manage.py runserver
Frontend
~~~~~~~~
You need to install npm deps first ::
cd frontend
npm install
Then you can start the dev server ::
npm run start
Reaching the server
~~~~~~~~~~~~~~~~~~~
You can now reach the server at http://localhost:8000/