You will also need a Redis Database, which is available on DigitalOcean. Create a DigitalOcean Database and add it to your app as a component. Then, create an environment variable called REDIS_URL and set it to the connection string of your database. Format of a connection string should be:
A website for developers to upload and review code. Check it out!
This is the backend. For the frontend, click here
Quickstart
You will need a DigitalOcean Spaces Space with an API Key configured. This will be used to store the code that users submit. Add these environment variables:
You will also need a Redis and PostgreSQL Database, which is available on DigitalOcean. Create a DigitalOcean Database and add it to your app as a component. Then, create an environment variable called REDIS_URL and set it to the connection string of your database. Format of a connection string should be:
Check my submission out here π
CodeReveiwers - DO Hackathon post submission
arnu515 γ» Dec 23 γ» 2 min read
Check the code out here
arnu515 / code-reviewers
Code Reviewers
A website for developers to upload and review code. Check it out!
Quickstart
Deploy with DigitalOcean
You will also need a Redis Database, which is available on DigitalOcean. Create a DigitalOcean Database and add it to your app as a component. Then, create an environment variable called REDIS_URL and set it to the connection string of your database. Format of a connection string should be:
Manually deploy
Set your environment variables:
Deploy with docker
To make deployment easier, there's Docker support. Make sure that
docker
anddocker-compose
are installed on your system.Then, use
docker-compose
to run the app.$ git clone https://github.com/arnu515/code-reviewers.git code-reviewers $ cd code-reviewers $ docker-compose up
arnu515 / code-reviewers-backend
Code Reviewers (BACKEND)
A website for developers to upload and review code. Check it out!
This is the backend. For the frontend, click here
Quickstart
You will need a DigitalOcean Spaces Space with an API Key configured. This will be used to store the code that users submit. Add these environment variables:
Additionally, also set some fernet keys (obtainable with this command):
python3 -c "from cryptograhpy.fernet import Fernet; print(Fernet.generate_key().decode())"
and generate 3 keys and put them as environment variables like so:
Deploy with DigitalOcean
You will also need a Redis and PostgreSQL Database, which is available on DigitalOcean. Create a DigitalOcean Database and add it to your app as a component. Then, create an environment variable called
REDIS_URL
and set it to the connection string of your database. Format of a connection string should be:Do the sameβ¦