Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

BeX

BeX is a webapp for students to find and exchange books. It is a college-level app. Self host it for your college.

Installation

The project is divided into two, frontend (NodeJS) and backend (django) in their respective folders.

  • Clone the repo

  • Set up python virtual environment :

    sudo apt-get install npm python3-pip
    pip3 install pipenv
  • Run these from the root folder of the cloned repo :

    pipenv install
  • Activate environment :

    pipenv shell
  • Now the frontend part needs to be set up. From root folder of the cloned repo, run :

    cd frontend
    npm install
    

Running

Webpack must be ran in background to compile when the source files are changed :

cd frontend && node_modules/.bin/webpack --config config/webpack.config.dev.js --watch

To run the web server, do :

python3 manage.py runserver

So two shells must be active for development. When each source file is changed, page must be reloaded to see the changes.

About

A webapp for exchanging books

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published