This website is developed for Ryten group lab at UCL Institute of Neurology, University College London. The site contains the research led by the group, group members/profiles, publications, collaborators and other resources developed within the lab at UCL. The website is running from a virtual environment.
#Specification
- django 1.10.8 - 2.0.2
- python 2.7 - 3
- db.sqlite3
- postgres
- vs code
- vim
- pip3
- ubuntu server 16.04 or latest version
- remove db.sqlite3 (if you wish to use postgresql)
- install postgresql
- install py-dev
- install a virtualenv
- now istall Django version
- install psycopg2 (use with postgres)
- configure django database settings
- migrate database
- create super user
- make a directory
- create a virtual environment
- start new django project
- Start the website development
- create templates
- static files and so on
- create profile in the server
- copy the project directory to the profile created in the server
- configure the allow_host in the setting to allow the server IP address
- make sure all settings are well configured and the python is accessing the correct path
- make sure you install all the necessary packages in the server
- make sure your virtualenv has django installed in it