mirror of
https://git.vern.cc/cobra/NerdsforNerds.git
synced 2026-10-23 01:54:46 +05:30
use add-to-load-path instead of -L
This commit is contained in:
parent
cdeaad42af
commit
be50e6e354
2 changed files with 3 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ You will need need `guile`, `guile-gnutls`, and `guile-lib`.
|
||||||
## Running
|
## Running
|
||||||
0. Install the dependencies
|
0. Install the dependencies
|
||||||
1. Clone the repository using `git clone https://git.vern.cc/cobra/NerdsforNerds`
|
1. Clone the repository using `git clone https://git.vern.cc/cobra/NerdsforNerds`
|
||||||
2. Run `guile -L . nerd.scm`
|
2. Run `guile nerd.scm`
|
||||||
3. Connect to http://localhost:8006 (or point your reverse proxy to it)
|
3. Connect to http://localhost:8006 (or point your reverse proxy to it)
|
||||||
4. Profit
|
4. Profit
|
||||||
|
|
||||||
|
|
|
||||||
2
nerd.scm
2
nerd.scm
|
|
@ -15,6 +15,8 @@
|
||||||
;; You should have received a copy of the GNU Affero General Public License
|
;; You should have received a copy of the GNU Affero General Public License
|
||||||
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
(add-to-load-path (dirname (current-filename)))
|
||||||
|
|
||||||
(define-module (nerd)
|
(define-module (nerd)
|
||||||
#:use-module (nerd pages)
|
#:use-module (nerd pages)
|
||||||
#:use-module (web server)
|
#:use-module (web server)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue