nim-lang / nimforum

Lightweight alternative to Discourse written in Nim
https://forum.nim-lang.org/
MIT License
758 stars 69 forks source link

Some items for the README Development section #164

Open markprocess opened 6 years ago

markprocess commented 6 years ago

Error: unhandled exception: File to import not found or unreadable: spectre/src/spectre.                 
Parent style sheet: /root/github.com/nim-lang/nimforum/public/css/nimforum.scss [SassException]          
Error: execution of an external program failed: './src/buildcss '                                        
       Tip: 44 messages have been suppressed, use --verbose to show them.                                
     Error: Execution failed with exit code 1                                                            
        ... Command: "/root/.nimble/bin/nim" c --noNimblePath --path:"/root/.nimble/pkgs/jester-#64295c8"
 --path:"/root/.nimble/pkgs/httpbeast-0.1.0" --path:"/root/.nimble/pkgs/asynctools-0.1.0" --path:"/root/.
nimble/pkgs/asynctools-0.1.0" --path:"/root/.nimble/pkgs/bcrypt-#head" --path:"/root/.nimble/pkgs/hmac-#9
c61ebe2fd134cf97" --path:"/root/.nimble/pkgs/nimSHA2-0.1.1" --path:"/root/.nimble/pkgs/sha1-1.1" --path:"
/root/.nimble/pkgs/recaptcha-1.0.2" --path:"/root/.nimble/pkgs/sass-#649e0701fa5c" --path:"/root/.nimble/
pkgs/karax-#d8df257dd" --path:"/root/.nimble/pkgs/webdriver-#a2be578" "-r"  "src/buildcss"               
stack trace: (most recent call last)                                                                     
root/github.com/nim-lang/nimforum/nimforum.nimble(36) frontendTask                                       
root/.choosenim/toolchains/nim-#devel/lib/system/nimscript.nim(237) exec                                 
root/.choosenim/toolchains/nim-#devel/lib/system/nimscript.nim(237, 7) Error: unhandled exception: FAILED
: nimble c -r src/buildcss
dom96 commented 6 years ago

Did you init and pull the submodules?

markprocess commented 6 years ago

No I did not. After doing that I can now compile and run an instance.

Please add to the readme development section

git submodule init
git submodule update

Thanks!

ghost commented 6 years ago

@dom96 you can put git clone --recursive https://github.com/nim-lang/nimforum in the README because it pulls all submodules automatically

dom96 commented 6 years ago

Please add to the readme development section

I will do that eventually, but if you want to help out you can edit the file in your browser and create a PR:

https://github.com/nim-lang/nimforum/edit/master/README.md

markprocess commented 6 years ago

I will submit a PR but I want to get a little more experience with the work flow first.

markprocess commented 6 years ago

(from #165) Please update Development section to the effect:

Development typically starts with choosenim devel and also nimble devdb.

Without a db instance, nimble backend produces

Error: unhandled exception: cannot read from file: /root/github.com/nim-lang/nimforum/forum.json [IOError]