File storage and sharing service built on the Django framework.
- Clone the CS-Cloud repository and
cdinto itgit clone https://github.com/nigelmpofu/cs-cloud.gitcd cs-cloud
- (Recommended) Create a new Python 3 virtual environment
- Create it:
python3 -m venv ./venv - Activate it:
source ./venv/bin/activate
- Create it:
- Install Django 2.2.13 and other packages [python 3.5+ required]
pip3 install -r ./requirements.txt
- Apply Database Migrations
python3 manage.py migrate
- Create root user
python3 manage.py createsuperuser
- Run the server
python3 manage.py runserver
In order to enable email functionality:
- Add email server configuration to the
config.pyfile located in thecs_clouddirectory. - Leave
EMAIL_HOSTblank to diable email functionality. - If the
DEBUGflag is set insettings.pythen emails will also be printed to the console.
Note: Loading may be delayed while attempting to send emails on a slow Internet connection.