You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,8 @@ A user is considered as an admin if they are a part of the team `GH_ORG_TEAM_SLU
129
129
1. Change directory to `crawler/` and run `go mod tidy`.
130
130
2. Run the crawler by running `go run crawler.go`. (Make sure you are connected to the campus network)
131
131
3. This will generate a `qp.tar.gz` file. Transfer this file to the server's `backend/` folder.
132
-
4. In the backend, run `cargo run --bin import-papers` to import the data into the database. (Make sure the database is set up and running)
132
+
4. (Development): In the backend, run `cargo run --bin import-papers` to import the data into the database. (Make sure the database is set up and running)\
133
+
(Production): In the backend, run `./import_papers.sh ./qp.tar.gz` to run the import script in the docker container running the application.
0 commit comments