- Clone the repo with
git clone https://github.com/theHubAUBGproject/Eureka.git
. - Get Django and all dependencies using
pip3 install -r requirements.txt
. It's highly suggested that you do this in a venv. - You can run the test server by using:
$ python manage.py runserver
In case you have both Python 2 and 3, you should use:
$ python3 manage.py runserver
Your Python version should be at least 3.5 for this version of Django.
Fork the repository and then:
$ git clone yourforkedcopy.git
Add upstream using:
$ git remote add upstream https://github.com/AUBGTheHUB/Eureka.git
To pull the most recent changes from the main repo:
$ git pull upstream master
Make your changes, do your commits and push the changes to the forked repo. Do a pull request against Eureka/master to request to merge your changes.
$ sudo touch /etc/yum.repos.d/mongodb.repo
Edit the file with whatever text editor. Add this in:
[mongodb-4.2]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/7/mongodb-org/4.2/x86_64/
gpgcheck=1
enable=1
gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc
$ sudo dnf install mongodb-org
$ sudo yum install mongodb-org
mongodb
package provided by Ubuntu is not actually maintained by the MongoDB community. You should first uninstall that package.
$ sudo apt-get purge mongodb
$ sudo apt-get autoremove
Add the MongoDB GPG key for the apt repository:
$ wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
If you receive an error indicating that gnupg is not installed:
$ sudo apt-get install gnupg
Then, retry the previous wget command.
Add the MongoDB repository:
$ echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb.list
Update your repositories:
$ sudo apt-get update
Finally, install MongoDB:
$ sudo apt-get install mongodb-org
To test if everything went well:
$ mongod --version
You can start the server and play around with it using:
$ mongod