evanepio / dotmanca Goto Github PK
View Code? Open in Web Editor NEWThe Dotman.ca Website
License: MIT License
The Dotman.ca Website
License: MIT License
There's no reason I need the workarounds in the Vagrantfile. I can put them into Salt files and use Requisites in the states to make sure they get installed in order.
The output of sudo netstat -tulpn
shows that nginx appears to be listening on port 80 and not the desired port 8000
Possible the file is in the wrong location, or nginx is configured badly.
Here's the output from manually starting nginx:
vagrant@vagrant-ubuntu-trusty-32:~$ nginx &
[1] 2331
vagrant@vagrant-ubuntu-trusty-32:~$ nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2015/05/13 19:04:51 [warn] 2331#0: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
2015/05/13 19:04:51 [emerg] 2331#0: "server" directive is not allowed here in /etc/nginx/nginx.conf:24
^C
[1]+ Exit 1 nginx
The "server" section is in the wrong spot. Think it might go under the "http" section.
When vagrant up
, nginx can get into a state where it half doesn't work (no server) and half spits out the default welcome, even after a restart.
The temporary fix is to provision and restart nginx.
The cause is likely to do with when the files are created / modified and when the nginx service starts.
When updating images, it saves the image file as the name I want, except a random 7-character string like lrNAJiv
Apparently, if a file with the desired name already exists, Django will not overwrite the file and append random characters to the file name (before the file extension).
Yeah, running unit tests is misconfigured and a postgres database connection is required to run the tests
Initial vagrant up
fails.
Logs seem to indicate pg_config
being missing from the path when pip install psycopg2
is running (from the python.sls file).
Likely fix is to make installing python requirements wait until postgresql stuff is finished.
The border at the top of the navigation menu is missing.
When in mobile mode, the menu does not collapse.
Ideally it will collapse and expand when tapping/clicking something with as little JavaScript as possible.
Now nginx is always serving the default welcome page, and it's not entirely clear to me what has changed.
I'd like to automate deployments when updates to master
branch occur.
Preferably using TravisCI as I got that working properly for running unit tests.
News Articles with a publish_datetime close to midnight cause errors when trying to view them, due to not being found.
I think it may be a timezone issue.
Instead of the menu popping into and out of existence, it should slide in and out.
The file for a gallery image is not deleted from the file system when the GalleryImage record is deleted, leaving behind cruft.
nginx doesn't start up after vagrant halt
then vagrant up
Even after a vagrant provision
it does not start, even when nginx.conf is modified.
Likely missing some option(s) in my salt state stuff.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.