Arc Forumnew | comments | leaders | submitlogin
2 points by tvvocold 3736 days ago | link | parent

yes,it works but the copyright is out of page and don't looks good,check this https://fdnews-tvvocold.rhcloud.com/news how to fix?


1 point by akkartik 3736 days ago | link

Then you'll need to learn about html tables, I think. You need to create a row in the table that spans both columns. See if this helps: http://www.w3schools.com/html/html_tables.asp. Don't be afraid to experiment, and come ask more questions when you get stuck.

-----

1 point by tvvocold 3736 days ago | link

well, when i git push a png file and edit then restart, my app goes down and 8080 port is used.so i kill -9 the pid and (load "lib/news.arc") (nsv '("my ip" 8080)) , then i got a blank hacker news clone..so i app-force-stop it and start again then got a full-blank page...what happeded?

i just got it right :it seems force-stop will drop the repo/www file and those would got lost!!bazinga!

-----

1 point by shader 3736 days ago | link

Force-stop shouldn't be what drops the www. The repo reset should only happen during the git push process. Otherwise I don't think it touches what's in the repo dir.

In any case, I think all of the stuff in the www folder should probably be moved to the data directory, so it doesn't get wiped regularly. I just haven't done it yet; partly because I didn't know exactly where I would put it.

Feel free to make a change to put it where you want it, and then send a pull request.

-----

1 point by tvvocold 3736 days ago | link

also i noticed that there is a Downvote feature in arc but cannot see it in the page?

-----

1 point by akkartik 3733 days ago | link

https://news.ycombinator.com/item?id=4007232

-----

1 point by tvvocold 3735 days ago | link

i noticed that there is a blog feature in anarki, how to run it on openshift? (bsv)?

-----

1 point by akkartik 3733 days ago | link

Yup. Does that work?

-----